Make imagePullPolicy of logger pod configurable (#1263)
Added correct imagePullPolicy in fluentbit.yaml (logger)
This commit is contained in:
@@ -35,6 +35,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: init
|
- name: init
|
||||||
image: busybox
|
image: busybox
|
||||||
|
imagePullPolicy: {{ .Values.pullPolicy }}
|
||||||
command: ['mkdir', '-p', '/var/log/fission']
|
command: ['mkdir', '-p', '/var/log/fission']
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: container-log
|
- name: container-log
|
||||||
@@ -43,7 +44,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: logger
|
- name: logger
|
||||||
image: "{{ .Values.repository }}/{{ .Values.image }}:{{ .Values.imageTag }}"
|
image: "{{ .Values.repository }}/{{ .Values.image }}:{{ .Values.imageTag }}"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: {{ .Values.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: NODE_NAME
|
- name: NODE_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
Reference in New Issue
Block a user