Skip to content

Commit

Permalink
Allow volumes and volumeMounts to be specified (#57)
Browse files Browse the repository at this point in the history
Co-authored-by: chrisj <[email protected]>
  • Loading branch information
etcet and chrisj authored Dec 15, 2024
1 parent e867da3 commit 10b8b95
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/cert-manager-webhook-pdns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: cert-manager-webhook-pdns
version: 3.2.1
version: 3.2.2
description: Cert Manager Webhook for PowerDNS.
type: application
home: https://github.com/zachomedia/cert-manager-webhook-pdns
Expand Down
6 changes: 6 additions & 0 deletions deploy/cert-manager-webhook-pdns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,18 @@ spec:
- name: certs
mountPath: /tls
readOnly: true
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumes:
- name: certs
secret:
secretName: {{ include "cert-manager-webhook-pdns.servingCertificate" . }}
{{- with .Values.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
Expand Down
6 changes: 6 additions & 0 deletions deploy/cert-manager-webhook-pdns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ podSecurityContext: {}

priorityClassName: ""

# Additional volumes to add to the cert-manager-webhook-pdns pod.
volumes: []

# Additional volume mounts to add to the cert-manager-webhook-pdns pod.
volumeMounts: []

# Configures the HTTP_PROXY environment variable where a HTTP proxy is required.
# http_proxy: "http://proxy:8080"

Expand Down

0 comments on commit 10b8b95

Please sign in to comment.