Skip to content

Commit 166fea5

Browse files
committed
add the option to mount extraVolumes and extraVolumeMounts
Signed-off-by: Niclas Schad <[email protected]>
1 parent 33beb75 commit 166fea5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

helm/designate-certmanager-webhook/templates/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ spec:
8585
- name: certs
8686
mountPath: /tls
8787
readOnly: true
88+
{{- if .Values.extraVolumeMounts }}
89+
{{- toYaml .Values.extraVolumeMounts | nindent 12}}
90+
{{- end }}
8891
resources:
8992
{{ toYaml .Values.resources | indent 12 }}
9093
securityContext:
@@ -97,6 +100,9 @@ spec:
97100
secret:
98101
optional: true
99102
secretName: {{ include "designate-certmanager-webhook.servingCertificate" . }}
103+
{{- if .Values.extraVolumes }}
104+
{{- toYaml .Values.extraVolumes | nindent 8}}
105+
{{- end }}
100106
{{- with .Values.nodeSelector }}
101107
nodeSelector:
102108
{{ toYaml . | indent 8 }}

helm/designate-certmanager-webhook/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ openstack:
3939
domain_name: ""
4040
ca_cert: ""
4141

42+
extraVolumes: []
43+
extraVolumeMounts: []
4244
nameOverride: ""
4345
fullnameOverride: ""
4446

0 commit comments

Comments
 (0)