Merge "[COMMON] Added imagePullSecrets to common template files with some fix"
[oom.git] / kubernetes / common / cassandra / templates / statefulset.yaml
index 8ae64ac..840e95b 100644 (file)
@@ -28,6 +28,8 @@ spec:
     metadata: {{- include "common.templateMetadata" . | nindent 6 }}
     spec:
       hostNetwork: {{ .Values.hostNetwork }}
+      imagePullSecrets:
+      - name: "{{ include "common.namespace" . }}-docker-registry-key"
       containers:
       - name: {{ include "common.name" . }}
         image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }}