feat(helm): Optionally use cert-manager instead admission patch (#9279)

This commit is contained in:
Jan-Otto Kröpke 2022-12-07 13:16:38 +01:00 committed by GitHub
parent ad4655a568
commit d7674e4323
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 147 additions and 9 deletions

View file

@ -225,6 +225,13 @@ spec:
- name: webhook-cert
secret:
secretName: {{ include "ingress-nginx.fullname" . }}-admission
{{- if .Values.controller.admissionWebhooks.certManager.enabled }}
items:
- key: tls.crt
path: cert
- key: tls.key
path: key
{{- end }}
{{- end }}
{{- if .Values.controller.extraVolumes }}
{{ toYaml .Values.controller.extraVolumes | nindent 8 }}