Skip to content

Commit

Permalink
Allow changing the reloader web port in the Prometheus Service (#4319)
Browse files Browse the repository at this point in the history
Signed-off-by: svetlimladenov <[email protected]>
  • Loading branch information
svetlimladenov authored Feb 29, 2024
1 parent eac2693 commit 97d54a9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 56.16.0
version: 56.17.0
appVersion: v0.71.2
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
{{- if semverCompare "> 1.20.0-0" $kubeTargetVersion }}
appProtocol: http
{{- end }}
port: 8080
port: {{ .Values.prometheus.service.reloaderWebPort }}
targetPort: reloader-web
{{- if .Values.prometheus.thanosIngress.enabled }}
- name: grpc
Expand Down
4 changes: 4 additions & 0 deletions charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2972,6 +2972,10 @@ prometheus:
## To be used with a proxy extraContainer port
targetPort: 9090

## Port for Prometheus Reloader to listen on
##
reloaderWebPort: 8080

## List of IP addresses at which the Prometheus server service is available
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
##
Expand Down

0 comments on commit 97d54a9

Please sign in to comment.