You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: replace cert-manager webhook Certificate with CSI volume mount for TLS
Provision the webhook serving certificate through the cert-manager CSI
driver instead of a cert-manager Certificate + cainjection. The manager
mounts the cert directly from a csi.cert-manager.io volume, so there is no
standalone Certificate resource, no CA-injection wiring on the webhook
configurations, and no cluster-wide cert-manager Certificate dependency in
the production overlay.
- Remove the config/base/certmanager base (Issuer/Certificate + kustomize
name-reference + CA-injection replacements).
- Add a generic config/components/csi-webhook-cert component that mounts
the webhook-server-tls CSI volume on the manager Deployment. The issuer
is intentionally left unset so each consuming overlay (or the infra repo)
patches csi.cert-manager.io/issuer-kind and issuer-name for its
environment.
- Drop the optional compute-webhook-cert Secret volume/mount from the base
manager Deployment; the CSI volume now supplies serving-certs.
- single-cluster overlay: drop the certmanager base, the cainjection patch,
and the dnsName/CA replacement blocks; wire in the csi-webhook-cert
component instead.
- dev overlay: keep an inline self-signed Issuer + Certificate for the
local host.docker.internal webhook (no CSI driver in the dev kind/docker
setup) and annotate the webhook configs with inject-ca-from directly.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments