Skip to content

Commit

Permalink
Fix the customResourceState.enabled args conditional (prometheus-comm…
Browse files Browse the repository at this point in the history
…unity#4273)

Signed-off-by: Mike Tougeron <[email protected]>
  • Loading branch information
mtougeron authored and Matiasmct committed Mar 20, 2024
1 parent 9bcc3d9 commit cbcaf15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.0
version: 5.16.1
appVersion: 2.10.1
home: https://github.com/kubernetes/kube-state-metrics/
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-state-metrics/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ spec:
{{- if .Values.selfMonitor.telemetryPort }}
- --telemetry-port={{ $telemetryPort }}
{{- end }}
{{- end }}
{{- if .Values.customResourceState.enabled }}
- --custom-resource-state-config-file=/etc/customresourcestate/config.yaml
{{- end }}
{{- end }}
{{- if or (.Values.kubeconfig.enabled) (.Values.customResourceState.enabled) (.Values.volumeMounts) }}
volumeMounts:
{{- if .Values.kubeconfig.enabled }}
Expand Down

0 comments on commit cbcaf15

Please sign in to comment.