mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-09 16:00:59 +00:00
KubernetesCluster RBAC slices were not deep-cloned cloneKubernetesCluster cloned Nodes, Namespaces, Pods, Deployments, and 20+ other slices via dedicated helpers but left Roles, ClusterRoles, RoleBindings, and ClusterRoleBindings aliased to the source slice through the dest := src shallow copy. The final dest.NormalizeCollections() call then iterates over those four slices and writes c.Roles[i] = c.Roles[i].NormalizeCollections() via index assignment, which races with any concurrent clone (or read of the same source). The race detector caught it once the k8s cluster count was bumped from 1 to 3 in |
||
|---|---|---|
| .. | ||
| account_roles.go | ||
| ceph_pool_storage_test.go | ||
| concurrency_test.go | ||
| converters.go | ||
| converters_additional_test.go | ||
| converters_test.go | ||
| deepcopy.go | ||
| deepcopy_test.go | ||
| disk_summary.go | ||
| disk_summary_test.go | ||
| metrics_types.go | ||
| metrics_types_test.go | ||
| models.go | ||
| models_frontend.go | ||
| models_frontend_test.go | ||
| models_helpers_test.go | ||
| node_aliases_test.go | ||
| organization.go | ||
| organization_additional_test.go | ||
| profile_validation.go | ||
| profile_validation_additional_test.go | ||
| profile_validation_test.go | ||
| profiles.go | ||
| snapshot_provider.go | ||
| state_additional_test.go | ||
| state_docker_test.go | ||
| state_host_test.go | ||
| state_snapshot.go | ||
| state_snapshot_additional_test.go | ||
| state_snapshot_concurrency_test.go | ||
| state_snapshot_frontend_test.go | ||
| state_snapshot_merge_test.go | ||