[COMMON] Added imagePullSecrets to common template files with some fix
[oom.git] / kubernetes / common / etcd / templates / statefulset.yaml
index a343d4f..027c397 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.fullname" .  }}
         image: {{ include "repositoryGenerator.googleK8sRepository" . }}/{{ .Values.image }}