diff --git a/charts/gateway-helm/README.md b/charts/gateway-helm/README.md index 01e32f4dbe0..f5f2b420d21 100644 --- a/charts/gateway-helm/README.md +++ b/charts/gateway-helm/README.md @@ -69,6 +69,7 @@ To uninstall the chart: | deployment.envoyGateway.resources.requests.memory | string | `"64Mi"` | | | deployment.kubeRbacProxy.image.repository | string | `"gcr.io/kubebuilder/kube-rbac-proxy"` | | | deployment.kubeRbacProxy.image.tag | string | `"v0.11.0"` | | +| deployment.kubeRbacProxy.imagePullPolicy | string | `"IfNotPresent"` | | | deployment.kubeRbacProxy.resources.limits.cpu | string | `"500m"` | | | deployment.kubeRbacProxy.resources.limits.memory | string | `"128Mi"` | | | deployment.kubeRbacProxy.resources.requests.cpu | string | `"5m"` | | diff --git a/charts/gateway-helm/templates/envoy-gateway-deployment.yaml b/charts/gateway-helm/templates/envoy-gateway-deployment.yaml index 6f36ef0a7c6..8bcd26a0b0f 100644 --- a/charts/gateway-helm/templates/envoy-gateway-deployment.yaml +++ b/charts/gateway-helm/templates/envoy-gateway-deployment.yaml @@ -80,6 +80,7 @@ spec: - name: KUBERNETES_CLUSTER_DOMAIN value: {{ .Values.kubernetesClusterDomain }} image: {{ .Values.deployment.kubeRbacProxy.image.repository }}:{{ .Values.deployment.kubeRbacProxy.image.tag | default .Chart.AppVersion }} + imagePullPolicy: {{ .Values.deployment.kubeRbacProxy.imagePullPolicy }} name: kube-rbac-proxy ports: - containerPort: 8443 diff --git a/charts/gateway-helm/values.tmpl.yaml b/charts/gateway-helm/values.tmpl.yaml index bf4de7a3873..5dc0e579af0 100644 --- a/charts/gateway-helm/values.tmpl.yaml +++ b/charts/gateway-helm/values.tmpl.yaml @@ -15,6 +15,7 @@ deployment: image: repository: gcr.io/kubebuilder/kube-rbac-proxy tag: v0.14.1 + imagePullPolicy: IfNotPresent resources: limits: cpu: 500m