diff options
Diffstat (limited to 'kubernetes/vnfsdk/templates')
-rw-r--r-- | kubernetes/vnfsdk/templates/deployment.yaml | 3 | ||||
-rw-r--r-- | kubernetes/vnfsdk/templates/job.yaml | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/vnfsdk/templates/deployment.yaml b/kubernetes/vnfsdk/templates/deployment.yaml index 9ba8f27521..bf9ad3e031 100644 --- a/kubernetes/vnfsdk/templates/deployment.yaml +++ b/kubernetes/vnfsdk/templates/deployment.yaml @@ -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: diff --git a/kubernetes/vnfsdk/templates/job.yaml b/kubernetes/vnfsdk/templates/job.yaml index ea06b54679..7c09d97642 100644 --- a/kubernetes/vnfsdk/templates/job.yaml +++ b/kubernetes/vnfsdk/templates/job.yaml @@ -75,8 +75,7 @@ spec: mountPath: /aaa/init/marketplace_tables_postgres.sql subPath: marketplace_tables_postgres.sql {{ include "common.waitForJobContainer" . | indent 6 | trim }} - imagePullSecrets: - - name: "{{ include "common.namespace" . }}-docker-registry-key" + {{- include "common.imagePullSecrets" . | nindent 6 }} volumes: - name: init-data configMap: |