fix(helm): apply imagePullPolicy to controller container and promtail sidecar (#4002)

Signed-off-by: geekspeng <geekspeng@icloud.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
geekspeng
2026-06-22 22:33:03 +08:00
committed by GitHub
parent 9c13b6418c
commit ab0085362c
2 changed files with 8 additions and 1 deletions

View File

@@ -211,7 +211,9 @@ template:
{{- $config := $o11y.promtail }}
- name: promtail
image: {{ $config.image.repository | default (printf "%s/higress/promtail" .Values.global.hub) }}:{{ $config.image.tag }}
imagePullPolicy: IfNotPresent
{{- if .Values.global.imagePullPolicy }}
imagePullPolicy: {{ .Values.global.imagePullPolicy }}
{{- end }}
args:
- -config.file=/etc/promtail/promtail.yaml
env: