[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / common / mariadb-galera / templates / backup / cronjob.yaml
index 4548626..9f0a786 100644 (file)
@@ -162,8 +162,7 @@ spec:
                   readOnly: true
                 - name: backup-dir
                   mountPath: /backup
-          imagePullSecrets:
-            - name: {{ include "common.namespace" . }}-docker-registry-key
+          {{- include "common.imagePullSecrets" . | nindent 10 }}
           volumes:
             - name: localtime
               hostPath: