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
Adapt to kcp 0.34 authorization chain restructuring #313
The authorization chain was restructured into bypass / pregate / grant / gate groups (pkg/server/options/authorization.go, pkg/authorization/*, docs in docs/content/concepts/authorization/authorizers.md):
--authorization-order now only selects and orders RBAC and Webhook (default RBAC,Webhook). AlwaysAllowGroups and AlwaysAllowPaths always run first; they are still accepted in the flag but ignored and will be removed. Use --authorization-always-allow-paths to control always-allowed paths.
The MaximalPermissionPolicy authorizer now returns Deny instead of NoOpinion when a policy applies and does not allow the request; the webhook can no longer allow such a request.
system:kcp:initializer:* / system:kcp:terminator:* groups only grant access for registered initializers/terminators in the matching phase.
Logical cluster admin identities skip authorization only for requests the bootstrap policy allows.
Steps
Review the deployment/config templates for --authorization-order and remove AlwaysAllowGroups / AlwaysAllowPaths from it (use --authorization-always-allow-paths instead where needed)
Check any webhook authorization configuration against the new ordering and Deny semantics
Update any audit policy, log tooling or docs that match old authorizer annotation names
Verify the kcp 0.34 bump works with the above (e2e/smoke test)
Mention the breaking changes in the release notes / upgrade docs
Activity