aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof
diff options
context:
space:
mode:
authordkamdocs <devesh.kumar@amdocs.com>2018-12-21 09:25:53 +0000
committerdkamdocs <devesh.kumar@amdocs.com>2018-12-21 09:27:33 +0000
commit6ad3a1c8e3e74c4af3912adf1c982b131c163e77 (patch)
tree2dd22fd0f20730358ccaa62433689ef006cbd2c2 /kubernetes/oof
parent84c242e22e45c8bf63c0bcde68e56fa6c4a2344d (diff)
global image pull issue
Issue-ID: OOM-1563 Change-Id: I383dbec29291ba5b13d613f60d8eb343b9c59dda Signed-off-by: dkamdocs <devesh.kumar@amdocs.com>
Diffstat (limited to 'kubernetes/oof')
-rw-r--r--kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml2
-rwxr-xr-xkubernetes/oof/charts/oof-has/templates/job-healthcheck.yaml4
-rwxr-xr-xkubernetes/oof/charts/oof-has/templates/job-onboard.yaml4
3 files changed, 5 insertions, 5 deletions
diff --git a/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml b/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml
index 47f732aa1e..dd080be98e 100644
--- a/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml
+++ b/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml
@@ -47,7 +47,7 @@ spec:
name: {{ include "common.name" . }}-readiness
- name: db-init
image: "{{ include "common.repository" . }}/{{ .Values.dbinit.image }}"
- imagePullPolicy: Always
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: DB_HOST
value: {{ .Values.config.db_host }}.{{.Release.Namespace}}
diff --git a/kubernetes/oof/charts/oof-has/templates/job-healthcheck.yaml b/kubernetes/oof/charts/oof-has/templates/job-healthcheck.yaml
index 6e38034c46..ca3501aa8c 100755
--- a/kubernetes/oof/charts/oof-has/templates/job-healthcheck.yaml
+++ b/kubernetes/oof/charts/oof-has/templates/job-healthcheck.yaml
@@ -49,7 +49,7 @@ spec:
fieldPath: metadata.namespace
containers:
- image: "{{ include "common.repository" . }}/{{ .Values.global.image.optf_has }}"
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-healthcheck
command:
- "/bin/sh"
@@ -97,4 +97,4 @@ spec:
path: healthcheck.json
restartPolicy: OnFailure
imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key" \ No newline at end of file
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"
diff --git a/kubernetes/oof/charts/oof-has/templates/job-onboard.yaml b/kubernetes/oof/charts/oof-has/templates/job-onboard.yaml
index 2b24d4017d..a27e190385 100755
--- a/kubernetes/oof/charts/oof-has/templates/job-onboard.yaml
+++ b/kubernetes/oof/charts/oof-has/templates/job-onboard.yaml
@@ -65,7 +65,7 @@ spec:
name: {{ include "common.name" . }}-music-db-readiness
containers:
- image: "{{ include "common.repository" . }}/{{ .Values.global.image.optf_has }}"
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-onboard
command:
- "/bin/sh"
@@ -105,4 +105,4 @@ spec:
path: onboard.json
restartPolicy: OnFailure
imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key" \ No newline at end of file
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"