Skip to content

Add ClusterInformation write-protection to webhook config#4499

Merged
caseydavenport merged 2 commits intotigera:masterfrom
caseydavenport:caseydavenport/clusterinfo-write-protect
Mar 17, 2026
Merged

Add ClusterInformation write-protection to webhook config#4499
caseydavenport merged 2 commits intotigera:masterfrom
caseydavenport:caseydavenport/clusterinfo-write-protect

Conversation

@caseydavenport
Copy link
Member

Adds clusterinformations to the ValidatingWebhookConfiguration managed by the operator. This routes Create/Update/Delete requests to the /cluster-info handler on the webhook server, which blocks writes from non-system users — matching the behavior of the aggregated API server.

The handler itself is in projectcalico/calico#12010.

Ref: CORE-12369

Register the ClusterInformation write-protection webhook in the
ValidatingWebhookConfiguration. This routes Create/Update/Delete
requests for clusterinformations to the /cluster-info handler on
the webhook server, which blocks writes from non-system users.

The handler itself is implemented in projectcalico/calico#12010.

Ref: CORE-12369
@caseydavenport caseydavenport merged commit f07bdd1 into tigera:master Mar 17, 2026
6 checks passed
@caseydavenport caseydavenport deleted the caseydavenport/clusterinfo-write-protect branch March 17, 2026 19:57
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.

3 participants