Skip to content

Commit

Permalink
add the option to mount extraVolumes and extraVolumeMounts
Browse files Browse the repository at this point in the history
Signed-off-by: Niclas Schad <[email protected]>
  • Loading branch information
Niclas Schad authored and nschad committed Sep 17, 2024
1 parent edeae32 commit be32917
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm/designate-certmanager-webhook/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions helm/designate-certmanager-webhook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ openstack:
domain_name: ""
ca_cert: ""

extraVolumes: []
extraVolumeMounts: []
nameOverride: ""
fullnameOverride: ""

Expand Down

0 comments on commit be32917

Please sign in to comment.