diff options
author | dkamdocs <devesh.kumar@amdocs.com> | 2018-12-21 09:25:53 +0000 |
---|---|---|
committer | dkamdocs <devesh.kumar@amdocs.com> | 2018-12-21 09:27:33 +0000 |
commit | 6ad3a1c8e3e74c4af3912adf1c982b131c163e77 (patch) | |
tree | 2dd22fd0f20730358ccaa62433689ef006cbd2c2 /kubernetes/vnfsdk/templates | |
parent | 84c242e22e45c8bf63c0bcde68e56fa6c4a2344d (diff) |
global image pull issue
Issue-ID: OOM-1563
Change-Id: I383dbec29291ba5b13d613f60d8eb343b9c59dda
Signed-off-by: dkamdocs <devesh.kumar@amdocs.com>
Diffstat (limited to 'kubernetes/vnfsdk/templates')
-rw-r--r-- | kubernetes/vnfsdk/templates/deployment.yaml | 4 | ||||
-rw-r--r-- | kubernetes/vnfsdk/templates/job.yaml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/vnfsdk/templates/deployment.yaml b/kubernetes/vnfsdk/templates/deployment.yaml index b53b92091c..8253a9b930 100644 --- a/kubernetes/vnfsdk/templates/deployment.yaml +++ b/kubernetes/vnfsdk/templates/deployment.yaml @@ -46,11 +46,11 @@ spec: apiVersion: v1 fieldPath: metadata.namespace image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" - imagePullPolicy: {{ .Values.global.pullPolicy}} + imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }}-readiness containers: - image: "{{ include "common.repository" . }}/{{ .Values.image }}" - imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }} + imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }} resources: {{ include "common.resources" . | indent 12 }} diff --git a/kubernetes/vnfsdk/templates/job.yaml b/kubernetes/vnfsdk/templates/job.yaml index 08d31077c6..5caf527482 100644 --- a/kubernetes/vnfsdk/templates/job.yaml +++ b/kubernetes/vnfsdk/templates/job.yaml @@ -44,7 +44,7 @@ spec: apiVersion: v1 fieldPath: metadata.namespace image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" - imagePullPolicy: {{ .Values.global.pullPolicy}} + imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy}} name: {{ include "common.name" . }}-readiness containers: - name: {{ include "common.name" . }}-job |