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 index 3c73fee4e628..89c36f5eca7a 100644 --- a/charts/kube-state-metrics/ci/01-kube-rbac-proxy-values.yaml +++ b/charts/kube-state-metrics/ci/01-kube-rbac-proxy-values.yaml @@ -1,2 +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 9142cb4b9ee9..29a74b80d441 100644 --- a/charts/kube-state-metrics/templates/deployment.yaml +++ b/charts/kube-state-metrics/templates/deployment.yaml @@ -111,7 +111,7 @@ spec: {{- end }} {{- if .Values.kubeRBACProxy.enabled }} - --telemetry-host=127.0.0.1 - - --telemetry-port={{ $servicePort }} + - --telemetry-port={{ $telemetryPort }} {{- else }} {{- if .Values.selfMonitor.telemetryHost }} - --telemetry-host={{ .Values.selfMonitor.telemetryHost }}