diff --git a/charts/kube-state-metrics/Chart.yaml b/charts/kube-state-metrics/Chart.yaml index 3182e471dcdc..d9c9392db5f8 100644 --- a/charts/kube-state-metrics/Chart.yaml +++ b/charts/kube-state-metrics/Chart.yaml @@ -7,7 +7,7 @@ keywords: - prometheus - kubernetes type: application -version: 5.27.0 +version: 5.27.1 appVersion: 2.14.0 home: https://github.com/kubernetes/kube-state-metrics/ sources: diff --git a/charts/kube-state-metrics/ci/01-kube-rbac-proxy-values.yaml b/charts/kube-state-metrics/ci/01-kube-rbac-proxy-values.yaml new file mode 100644 index 000000000000..89c36f5eca7a --- /dev/null +++ b/charts/kube-state-metrics/ci/01-kube-rbac-proxy-values.yaml @@ -0,0 +1,4 @@ +kubeRBACProxy: + enabled: true +selfMonitor: + enabled: true diff --git a/charts/kube-state-metrics/templates/deployment.yaml b/charts/kube-state-metrics/templates/deployment.yaml index 29a74b80d441..37ca37b4a4fd 100644 --- a/charts/kube-state-metrics/templates/deployment.yaml +++ b/charts/kube-state-metrics/templates/deployment.yaml @@ -257,7 +257,7 @@ spec: {{- .Values.kubeRBACProxy.extraArgs | toYaml | nindent 8 }} {{- end }} - --secure-listen-address=:{{ .Values.selfMonitor.telemetryPort | default 8081 }} - - --upstream=http://127.0.0.1:{{ $telemetryPort }}/ + - --upstream=http://127.0.0.1:{{ $servicePort }}/ - --proxy-endpoints-port=8889 - --config-file=/etc/kube-rbac-proxy-config/config-file.yaml volumeMounts: diff --git a/charts/kube-state-metrics/values.yaml b/charts/kube-state-metrics/values.yaml index a7b2bdad64f5..79734448a4fc 100644 --- a/charts/kube-state-metrics/values.yaml +++ b/charts/kube-state-metrics/values.yaml @@ -106,7 +106,7 @@ kubeRBACProxy: image: registry: quay.io repository: brancz/kube-rbac-proxy - tag: v0.18.0 + tag: v0.18.1 sha: "" pullPolicy: IfNotPresent