ahmedgabers opened a new issue, #1006:
URL: https://github.com/apache/apisix-helm-chart/issues/1006

   The `ValidatingWebhookConfiguration` in the apisix-ingress-controller chart 
renders with no annotations and no way to add any. With 
`webhook.certificate.provided=true`, operators supplying the serving 
certificate from a cert-manager `Certificate` must hand-copy the CA into 
`webhook.certificate.caBundle` — and re-copy it whenever the CA rotates, or the 
API server silently stops trusting the webhook (with the default 
`failurePolicy: Ignore`, admission validation is skipped without any visible 
failure).
   
   The ecosystem-standard fix is cert-manager's cainjector: annotate the 
webhook configuration with `cert-manager.io/inject-ca-from: 
<namespace>/<certificate>` and the caBundle is maintained automatically, 
rotation included. That needs only an annotations knob on the webhook template.
   
   Proposed fix in #1004 — adds `webhook.annotations` (default `{}`); unset 
output is byte-identical to today.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to