Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow volumes and volumeMounts to be specified #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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