diff --git a/deploy/cert-manager-webhook-dnspod/templates/deployment.yaml b/deploy/cert-manager-webhook-dnspod/templates/deployment.yaml index c5ac0ba..30c4dce 100644 --- a/deploy/cert-manager-webhook-dnspod/templates/deployment.yaml +++ b/deploy/cert-manager-webhook-dnspod/templates/deployment.yaml @@ -20,6 +20,9 @@ spec: release: {{ .Release.Name }} spec: serviceAccountName: {{ include "cert-manager-webhook-dnspod.fullname" . }} + {{- if .Values.imagePullSecrets }} + imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }} + {{- end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" diff --git a/deploy/cert-manager-webhook-dnspod/values.yaml b/deploy/cert-manager-webhook-dnspod/values.yaml index dde766d..5051297 100644 --- a/deploy/cert-manager-webhook-dnspod/values.yaml +++ b/deploy/cert-manager-webhook-dnspod/values.yaml @@ -26,6 +26,8 @@ clusterIssuer: # dnsZones: # - 'example.com' +# imagePullSecrets: +# - name: regcred image: repository: qqshfox/cert-manager-webhook-dnspod #tag: latest