Describe the feature you are requesting
Allow the AWS Load Balancer Controller webhook to consume an existing CertManager Certificate by name directly.
Motivation
My Certificate is very different from the one created by current chart. So instead of asking for each configuration added, it's better to just reference one.
Describe the proposed solution you'd like
enableCertManager: true
certManager:
webhookCert: my-certificate-name
Then in webhook.yaml
{{- if $.Values.enableCertManager }}
annotations:
{{- if $.Values.certManager.webhookCert }}
cert-manager.io/inject-ca-from: {{ .Values.certManager.webhookCert }}
{{- else }}
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ template "aws-load-balancer-controller.namePrefix" . }}-serving-cert
{{- end }}
{{- end }}
Describe alternatives you've considered
This request and #4464 are alternatives
Contribution Intention (Optional)
Describe the feature you are requesting
Allow the AWS Load Balancer Controller webhook to consume an existing CertManager Certificate by name directly.
Motivation
My Certificate is very different from the one created by current chart. So instead of asking for each configuration added, it's better to just reference one.
Describe the proposed solution you'd like
Then in webhook.yaml
Describe alternatives you've considered
This request and #4464 are alternatives
Contribution Intention (Optional)