Skip to content

feat(ingress-controller): support annotations on the webhook configuration - #1004

Open
ahmedgabers wants to merge 1 commit into
apache:masterfrom
ahmedgabers:feat/ic-webhook-annotations
Open

ahmedgabers wants to merge 1 commit into
apache:masterfrom
ahmedgabers:feat/ic-webhook-annotations

Conversation

@ahmedgabers

Copy link
Copy Markdown

The ValidatingWebhookConfiguration renders with no annotations, so external CA managers cannot attach to it. With webhook.certificate.provided, operators supply a serving certificate (commonly a cert-manager Certificate) but must hand-copy the CA into webhook.certificate.caBundle and re-copy it whenever it rotates.

An webhook.annotations knob lets cert-manager's cainjector own the caBundle instead (cert-manager.io/inject-ca-from: <namespace>/<certificate>) — the standard pattern for webhook trust management.

Verified with helm template: the annotation renders onto the webhook configuration when set; unset output is byte-identical to today. Chart version bumped 1.3.0 -> 1.3.1; values doc comment and README row updated.

…ation

The ValidatingWebhookConfiguration renders with no annotations, so
external CA managers cannot be attached to it. With
webhook.certificate.provided, operators supply a serving cert (commonly
a cert-manager Certificate) but must hand-copy the CA into
webhook.certificate.caBundle and re-copy it on rotation. An annotations
knob lets cert-manager's cainjector own the caBundle instead
(cert-manager.io/inject-ca-from), the standard pattern for
webhook trust.
@ahmedgabers

Copy link
Copy Markdown
Author

Fixes #1006.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant