diff --git a/helm/designate-certmanager-webhook/templates/deployment.yaml b/helm/designate-certmanager-webhook/templates/deployment.yaml index e969f919..bfbd4a8e 100644 --- a/helm/designate-certmanager-webhook/templates/deployment.yaml +++ b/helm/designate-certmanager-webhook/templates/deployment.yaml @@ -85,6 +85,9 @@ spec: - name: certs mountPath: /tls readOnly: true + {{- if .Values.extraVolumeMounts }} + {{- toYaml .Values.extraVolumeMounts | nindent 12}} + {{- end }} resources: {{ toYaml .Values.resources | indent 12 }} securityContext: @@ -97,6 +100,9 @@ spec: secret: optional: true secretName: {{ include "designate-certmanager-webhook.servingCertificate" . }} + {{- if .Values.extraVolumes }} + {{- toYaml .Values.extraVolumes | nindent 8}} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} diff --git a/helm/designate-certmanager-webhook/values.yaml b/helm/designate-certmanager-webhook/values.yaml index 81960d78..79bca1a2 100644 --- a/helm/designate-certmanager-webhook/values.yaml +++ b/helm/designate-certmanager-webhook/values.yaml @@ -39,6 +39,8 @@ openstack: domain_name: "" ca_cert: "" +extraVolumes: [] +extraVolumeMounts: [] nameOverride: "" fullnameOverride: ""