[COMMON] Added imagePullSecrets to common template files with some fix
[oom.git] / kubernetes / common / mongo / templates / statefulset.yaml
index 73186b3..1160205 100644 (file)
@@ -37,6 +37,8 @@ spec:
         release: {{ include "common.release" . }}
     spec:
 {{ include "common.podSecurityContext" . | indent 6 }}
+      imagePullSecrets:
+      - name: "{{ include "common.namespace" . }}-docker-registry-key"
       containers:
         - name: {{ include "common.name" . }}
           image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }}