Skip to content

[release-v1.43] Render a write-only tiered policy passthrough in v3 CRD mode - #5267

Merged
caseydavenport merged 2 commits into
tigera:release-v1.43from
caseydavenport:casey-crd-policy-passthru-v1.43
Aug 27, 2026
Merged

caseydavenport merged 2 commits into
tigera:release-v1.43from
caseydavenport:casey-crd-policy-passthru-v1.43

Conversation

@caseydavenport

Copy link
Copy Markdown
Member

Cherry-pick of #5259 to release-v1.43.

The tiered policy passthrough role is only rendered when running the aggregation API server, so on clusters serving the Calico v3 API through CRDs every tier-scoped role is denied on all verbs. This renders it in both modes: all verbs under the aggregation API server as before, writes only in v3 CRD mode, where writes reach the tiered policy admission webhook and reads stay subject to ordinary RBAC. Staged policies also move into the base role, since they are tiered in Calico as well as Enterprise. This branch predates the split of Enterprise rendering into its own package, so that move folds the Enterprise-only append into the base list.

Fixes tier-scoped policy roles being denied all access on clusters serving the Calico v3 API through CRDs.
Fixes staged network policy writes being denied for tier-scoped roles in Calico.

@caseydavenport
caseydavenport requested a review from a team as a code owner August 27, 2026 16:40
@marvin-tigera marvin-tigera added this to the v1.43.1 milestone Aug 27, 2026
@caseydavenport
caseydavenport merged commit 5c8e018 into tigera:release-v1.43 Aug 27, 2026
8 checks passed
@caseydavenport
caseydavenport deleted the casey-crd-policy-passthru-v1.43 branch August 27, 2026 17:23
caseydavenport added a commit that referenced this pull request Sep 29, 2026
…RD mode (#5267) (#5341)

* Render a write-only tiered policy passthrough in v3 CRD mode (#5259)

(cherry picked from commit 2ce71be)

* Expect the tiered policy passthrough without an aggregation server

(cherry picked from commit 5c8e018)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants