Using templated imagePullPolicy for containers in deployment.yaml (#1137)

Configured imagePullPolicy to be used from values.yaml for some system container such as InfluxDB, Heapster etc.
This commit is contained in:
msshroff
2019-04-26 16:05:11 +05:30
committed by Vishal
parent 3cbb02465b
commit 9a3cc517d0
5 changed files with 8 additions and 1 deletions
@@ -403,6 +403,7 @@ spec:
containers:
- name: influxdb
image: fission/influxdb
imagePullPolicy: {{ .Values.pullPolicy }}
env:
- name: PRE_CREATE_DB
value: fissionFunctionLog
@@ -454,6 +455,7 @@ spec:
containers:
- name: heapster
image: gcr.io/google_containers/heapster-amd64:v1.5.0
imagePullPolicy: {{ .Values.pullPolicy }}
command:
- /heapster
- --source=kubernetes:https://kubernetes.default
@@ -503,6 +505,7 @@ spec:
# containers:
# - name: nginx
# image: {{ .Values.repository }}/{{ .Values.fissionUiImage }}
# imagePullPolicy: {{ .Values.pullPolicy }}
# - name: kubectl-proxy
# image: {{ .Values.repository }}/lachlanevenson/k8s-kubectl
# args: ["proxy", "--port", "8001", "--address", "127.0.0.1"]
@@ -526,6 +529,7 @@ spec:
containers:
- name: nats-streaming
image: nats-streaming
imagePullPolicy: {{ .Values.pullPolicy }}
args: [
"--cluster_id", "{{ .Values.nats.clusterID }}",
"--auth", "{{ .Values.nats.authToken }}",