AlinsRan commented on PR #1004:
URL:
https://github.com/apache/apisix-helm-chart/pull/1004#issuecomment-6335494707
Thanks @ahmedgabers. I pushed two commits to this branch to get it mergeable:
1. **Merged `master`** to resolve the `Chart.yaml` conflict. `1.3.1` was
already released by #1009, and master is now at `1.4.0`, so the chart is bumped
to `1.4.1`.
2. **Regenerated the README with `helm-docs`.** CI runs `helm-docs` with
alphanum sorting, so the `webhook.annotations` row has to sit above
`webhook.certificate.provided`.
3. **Scoped the CA injection in the values docs.** With
`webhook.certificate.provided: false`, the chart generates its own CA and
serving cert. If an `inject-ca-from` annotation is also set, cainjector
replaces `caBundle` with a different CA, and the TLS handshake to the webhook
fails. That failure is silent under the default `failurePolicy: Ignore`, and
blocks all CREATE/UPDATE under `Fail`. The comment now reads:
```yaml
# -- Annotations for the ValidatingWebhookConfiguration, e.g.
# `cert-manager.io/inject-ca-from: <namespace>/<certificate>` so
# cert-manager's cainjector maintains the webhook caBundle.
# Only use CA injection with `certificate.provided: true` and
`certificate.caBundle` unset;
# otherwise the injected CA replaces the chart-generated one and the
webhook TLS handshake fails.
annotations: {}
```
Verified locally: `helm lint` passes, and with default values the rendered
manifests match master (apart from the chart label and the generated
certificates).
--
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]