[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / vnfsdk / templates / deployment.yaml
index 9ba8f27..bf9ad3e 100644 (file)
@@ -62,8 +62,7 @@ spec:
             port: {{ .Values.service.internalPort }}
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}
       volumes:
       - name: init-data-input
         configMap: