Skip to content

Commit 10b8b95

Browse files
etcetchrisadyen
andauthored
Allow volumes and volumeMounts to be specified (#57)
Co-authored-by: chrisj <[email protected]>
1 parent e867da3 commit 10b8b95

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

deploy/cert-manager-webhook-pdns/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: cert-manager-webhook-pdns
3-
version: 3.2.1
3+
version: 3.2.2
44
description: Cert Manager Webhook for PowerDNS.
55
type: application
66
home: https://github.com/zachomedia/cert-manager-webhook-pdns

deploy/cert-manager-webhook-pdns/templates/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,18 @@ spec:
7474
- name: certs
7575
mountPath: /tls
7676
readOnly: true
77+
{{- with .Values.volumeMounts }}
78+
{{- toYaml . | nindent 12 }}
79+
{{- end }}
7780
resources:
7881
{{ toYaml .Values.resources | indent 12 }}
7982
volumes:
8083
- name: certs
8184
secret:
8285
secretName: {{ include "cert-manager-webhook-pdns.servingCertificate" . }}
86+
{{- with .Values.volumes }}
87+
{{- toYaml . | nindent 8 }}
88+
{{- end }}
8389
{{- with .Values.nodeSelector }}
8490
nodeSelector:
8591
{{ toYaml . | indent 8 }}

deploy/cert-manager-webhook-pdns/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ podSecurityContext: {}
6666

6767
priorityClassName: ""
6868

69+
# Additional volumes to add to the cert-manager-webhook-pdns pod.
70+
volumes: []
71+
72+
# Additional volume mounts to add to the cert-manager-webhook-pdns pod.
73+
volumeMounts: []
74+
6975
# Configures the HTTP_PROXY environment variable where a HTTP proxy is required.
7076
# http_proxy: "http://proxy:8080"
7177

0 commit comments

Comments
 (0)