Skip to content

Commit

Permalink
[kube-state-metrics] fix probe check when kubeRbacProxy is enabled
Browse files Browse the repository at this point in the history
Signed-off-by: frezes <[email protected]>
  • Loading branch information
frezes committed Mar 4, 2024
1 parent f68217d commit 62ddfd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/kube-state-metrics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions charts/kube-state-metrics/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 62ddfd2

Please sign in to comment.