You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Apply compound (kind, name) listMapKey to MCPOIDCConfig and MCPExternalAuthConfig ReferencingWorkloads #5498
In #4777 the ReferencingWorkloads field on `MCPAuthzConfigStatus` was changed from `+listMapKey=name` to a compound `+listMapKey=kind` + `+listMapKey=name` so two workloads of different kinds with the same name no longer collide under merge-patch semantics (commit 193ff756).
The two sibling config types — `MCPOIDCConfigStatus.ReferencingWorkloads` and `MCPExternalAuthConfigStatus.ReferencingWorkloads` — share the same `WorkloadReference` type and have the same single-key listMapKey. They need the same fix for parity.
Both sibling types declare the compound `+listMapKey=kind` + `+listMapKey=name` on `ReferencingWorkloads`.
`task operator-manifests` regenerates the CRD YAML with `x-kubernetes-list-map-keys: [kind, name]` for both.
`task test` passes; no regression in either controller's reconcile path.
Compatibility note
This is technically a CRD schema change. Existing clusters with stored `ReferencingWorkloads` entries are unaffected at the data level — the entries already contain both `kind` and `name`. The change only tightens the apiserver's merge-patch interpretation going forward.
Activity
Use compound listMapKey on sibling config statuses (#5508)