From 7031af85227bcb51ed542f3825873c0769a3b1f1 Mon Sep 17 00:00:00 2001 From: zyue110026 <98426905+zyue110026@users.noreply.github.com> Date: Thu, 8 Aug 2024 11:22:12 -0500 Subject: [PATCH] fix: init.image.pullPolicy and nodeAgent.image.pullPolicy not being respect Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> --- charts/aws-vpc-cni/templates/daemonset.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/aws-vpc-cni/templates/daemonset.yaml b/charts/aws-vpc-cni/templates/daemonset.yaml index b011f681a0..e41879d518 100644 --- a/charts/aws-vpc-cni/templates/daemonset.yaml +++ b/charts/aws-vpc-cni/templates/daemonset.yaml @@ -41,6 +41,7 @@ spec: initContainers: - name: aws-vpc-cni-init image: {{ include "aws-vpc-cni.initImage" . }} + imagePullPolicy: {{ .Values.init.image.pullPolicy }} env: {{- range $key, $value := .Values.init.env }} - name: {{ $key }} @@ -126,6 +127,7 @@ spec: {{- if .Values.nodeAgent.enabled }} - name: aws-eks-nodeagent image: {{ include "aws-vpc-cni.nodeAgentImage" . }} + imagePullPolicy: {{ .Values.nodeAgent.image.pullPolicy }} env: - name: MY_NODE_NAME valueFrom: