Skip to content

Add ClusterInformation write-protection to webhook config#4499

Open
caseydavenport wants to merge 2 commits intotigera:masterfrom
caseydavenport:caseydavenport/clusterinfo-write-protect
Open

Add ClusterInformation write-protection to webhook config#4499
caseydavenport wants to merge 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
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