[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / sdc / components / sdc-helm-validator / templates / deployment.yaml
index f736a17..f3572ca 100644 (file)
@@ -50,5 +50,4 @@ spec:
             periodSeconds: {{ .Values.startup.periodSeconds }}
             successThreshold: {{ .Values.startup.successThreshold }}
             failureThreshold: {{ .Values.startup.failureThreshold }}
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}