[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / oof / components / oof-has / components / oof-has-solver / templates / deployment.yaml
index 3cf0450..f7251ac 100755 (executable)
@@ -67,8 +67,7 @@ spec:
           - mountPath: /usr/local/bin/healthy.sh
             name: {{ .Values.global.commonConfigPrefix }}-config
             subPath: healthy.sh
-          resources:
-{{ include "common.resources" . | indent 12 }}
+          resources: {{ include "common.resources" . | nindent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
@@ -92,5 +91,4 @@ spec:
               path: log.conf
             - key: healthy.sh
               path: healthy.sh
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}