diff --git a/charts/kube-state-metrics/Chart.yaml b/charts/kube-state-metrics/Chart.yaml index fa3d7dcc0f86..4044b4eb0e78 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.16.2 +version: 5.16.3 appVersion: 2.10.1 home: https://github.com/kubernetes/kube-state-metrics/ sources: diff --git a/charts/kube-state-metrics/templates/deployment.yaml b/charts/kube-state-metrics/templates/deployment.yaml index 521817291be2..070a28cd67f5 100644 --- a/charts/kube-state-metrics/templates/deployment.yaml +++ b/charts/kube-state-metrics/templates/deployment.yaml @@ -149,7 +149,7 @@ spec: livenessProbe: failureThreshold: {{ .Values.livenessProbe.failureThreshold }} httpGet: - {{- if .Values.kubeRBACProxy.enabled }} + {{- if .Values.hostNetwork.enabled }} host: 127.0.0.1 {{- end }} httpHeaders: @@ -167,7 +167,7 @@ spec: readinessProbe: failureThreshold: {{ .Values.readinessProbe.failureThreshold }} httpGet: - {{- if .Values.kubeRBACProxy.enabled }} + {{- if .Values.hostNetwork.enabled }} host: 127.0.0.1 {{- end }} httpHeaders: