[COMMON] Added imagePullSecrets to common template files with some fix
[oom.git] / kubernetes / common / etcd / templates / statefulset.yaml
index 48c8b6d..c8c0ffa 100644 (file)
@@ -48,6 +48,8 @@ spec:
       tolerations:
 {{ toYaml .Values.tolerations | indent 8 }}
 {{- end }}
+      imagePullSecrets:
+      - name: "{{ include "common.namespace" . }}-docker-registry-key"
       containers:
       - name: {{ include "common.name" .  }}
         image: {{ include "repositoryGenerator.googleK8sRepository" . }}/{{ .Values.image }}