global image pull issue
authordkamdocs <devesh.kumar@amdocs.com>
Fri, 21 Dec 2018 09:25:53 +0000 (09:25 +0000)
committerdkamdocs <devesh.kumar@amdocs.com>
Fri, 21 Dec 2018 09:27:33 +0000 (09:27 +0000)
Issue-ID: OOM-1563

Change-Id: I383dbec29291ba5b13d613f60d8eb343b9c59dda
Signed-off-by: dkamdocs <devesh.kumar@amdocs.com>
charts/aaf-sms/charts/aaf-sms-quorumclient/templates/statefulset.yaml
charts/aaf-sms/templates/deployment.yaml
charts/aaf-sms/templates/job.yaml
charts/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml
charts/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/statefulset.yaml
charts/aaf-sshsm/charts/aaf-sshsm-distcenter/templates/job.yaml
charts/aaf-sshsm/charts/aaf-sshsm-testca/templates/job.yaml

index 0a83e85..16f8092 100644 (file)
@@ -34,7 +34,7 @@ spec:
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         name: {{ include "common.name" . }}
-        imagePullPolicy: {{ .Values.pullPolicy }}
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         command: ["/quorumclient/bin/quorumclient"]
         workingDir: /quorumclient/
         volumeMounts:
index ed24f67..ca35fdc 100644 (file)
@@ -49,7 +49,7 @@ spec:
               fieldPath: metadata.namespace
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
-        imagePullPolicy: {{ .Values.pullPolicy }}
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         name: {{ include "common.name" . }}
         command: ["/sms/bin/sms"]
         workingDir: /sms/
index 2cee8d5..a5446ab 100644 (file)
@@ -51,7 +51,7 @@ spec:
               fieldPath: metadata.namespace
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
-        imagePullPolicy: {{ .Values.pullPolicy }}
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         name: {{ include "common.name" . }}-preload
         command:
           - "/sms/bin/preload"
index 8b2e0b8..5618dd5 100644 (file)
@@ -38,7 +38,7 @@ spec:
       containers:
       - name: {{ include "common.name" . }}-job
         image: "{{ include "common.repository" . }}/{{ .Values.image }}"
-        imagePullPolicy: {{ .Values.pullPolicy }}
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         command: ["/abrmd/bin/initialize_tpm.sh"]
         workingDir: /abrmd/bin
         securityContext:
index a3a2004..4a1dd5c 100644 (file)
@@ -53,7 +53,7 @@ spec:
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         name: {{ include "common.name" . }}
-        imagePullPolicy: {{ .Values.pullPolicy }}
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         command: ["/abrmd/bin/run_abrmd.sh"]
         workingDir: /abrmd/bin
         securityContext:
index 69a9956..3db88b6 100644 (file)
@@ -73,7 +73,7 @@ spec:
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         name: {{ include "common.name" . }}
-        imagePullPolicy: {{ .Values.pullPolicy }}
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         command: ["/entrypoint.sh"]
         workingDir: /distcenter
         volumeMounts:
@@ -102,4 +102,4 @@ spec:
       imagePullSecrets:
       - name: "{{ include "common.namespace" . }}-docker-registry-key"
 
-{{- end -}}
\ No newline at end of file
+{{- end -}}
index 304f974..fc993df 100644 (file)
@@ -70,7 +70,7 @@ spec:
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         name: {{ include "common.name" . }}
-        imagePullPolicy: {{ .Values.pullPolicy }}
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         command: ["./import.sh"]
         workingDir: /testca/bin
         env: