Skip to content

Commit

Permalink
[kube-state-metrics] Fix selfMonitor port (#2418)
Browse files Browse the repository at this point in the history
[kube-state-metrics] Fix selfMonitor port (#2418)

Signed-off-by: Zhaojun Li <[email protected]>
  • Loading branch information
zhaojul authored Sep 1, 2022
1 parent 14af09b commit cb31a4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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: 4.16.0
version: 4.17.0
appVersion: 2.5.0
home: https://github.com/kubernetes/kube-state-metrics/
sources:
Expand Down
2 changes: 2 additions & 0 deletions charts/kube-state-metrics/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ spec:
{{- if .Values.selfMonitor.telemetryHost }}
- --telemetry-host={{ .Values.selfMonitor.telemetryHost }}
{{- end }}
{{- if .Values.selfMonitor.telemetryPort }}
- --telemetry-port={{ .Values.selfMonitor.telemetryPort | default 8081 }}
{{- end }}
{{- if or (.Values.kubeconfig.enabled) (.Values.volumeMounts) }}
volumeMounts:
{{- if .Values.kubeconfig.enabled }}
Expand Down

0 comments on commit cb31a4d

Please sign in to comment.