[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / portal-ng / components / portal-ng-bff / templates / deployment.yaml
index 15ff2be..ef54110 100644 (file)
@@ -8,8 +8,7 @@ spec:
   template:
     metadata: {{- include "common.templateMetadata" . | nindent 6 }}
     spec:
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}
       containers:
         - name: {{ .Chart.Name }}
           image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image.imageName }}:{{ .Values.image.tag | default .Chart.AppVersion }}