From d4ad29437fbfa591a019c935a4364d607e58b522 Mon Sep 17 00:00:00 2001 From: Maxim Fedotov Date: Fri, 13 Dec 2024 19:22:13 +0300 Subject: [PATCH] fix(template): add missing fields to kube-rbac-proxy (#575) Signed-off-by: Maksim Fedotov --- templates/kube-rbac-proxy/_helpers.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/kube-rbac-proxy/_helpers.tpl b/templates/kube-rbac-proxy/_helpers.tpl index 956137869..e8cfad07e 100644 --- a/templates/kube-rbac-proxy/_helpers.tpl +++ b/templates/kube-rbac-proxy/_helpers.tpl @@ -9,6 +9,9 @@ runAsGroup: 65534 {{- end }} image: {{ include "helm_lib_module_common_image" (list $ctx "kubeRbacProxy") }} + imagePullPolicy: IfNotPresent + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File args: - "--secure-listen-address=$(KUBE_RBAC_PROXY_LISTEN_ADDRESS):{{ $settings.listenPort | default "8082" }}" - "--v={{ $settings.logLevel | default "2" }}" @@ -18,6 +21,7 @@ - name: KUBE_RBAC_PROXY_LISTEN_ADDRESS valueFrom: fieldRef: + apiVersion: v1 fieldPath: status.podIP - name: KUBE_RBAC_PROXY_CONFIG value: |