Skip to content

Integrate helm chart with Cert-Manager CA Injector #618

Open
@phmcder

Description

@phmcder

The current Helm chart requires the passing of TLS certificate values. Then it will create the certificate secret and hard code the caCert value for the webhook.

Other helm deployments have the option of using Cert-Manager to manage the webhook certificates using the CA Injector. This automates the updating of the webhook caCert value. https://cert-manager.io/docs/concepts/ca-injector/

External-Secrets has a helm chart that supports this:
Here the cert-manager.io/inject-ca-fromannotation is being set on line 12 (https://github.com/external-secrets/external-secrets/blob/main/deploy/charts/external-secrets/templates/validatingwebhook.yaml)

Currently, I am blocked from implementing this because

  • The MutatingWebhookConfiguration yaml does not allow me to add annotations in /helm/templates/webhook.yaml
  • the webhooks.clientConfig.caBundle value is not optional in /helm/templates/webhook.yaml
  • The creation of the webhook-cert is not optional in /helm/templates/webhook.yaml

Can Cert-Manager support be added to the Helm?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions