Adding imagePullSecrets to snapshot controller.

This commit is contained in:
Dhaval Vyas 2023-06-29 10:19:32 -04:00 committed by GitHub
parent 37d790f47e
commit 78ae02b0a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,10 @@ spec:
app: {{ .Values.externalSnapshotter.name }} app: {{ .Values.externalSnapshotter.name }}
spec: spec:
serviceAccountName: {{ .Values.externalSnapshotter.name }} serviceAccountName: {{ .Values.externalSnapshotter.name }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
nodeSelector: nodeSelector:
kubernetes.io/os: linux kubernetes.io/os: linux
priorityClassName: system-cluster-critical priorityClassName: system-cluster-critical