mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
[bitnami/redis] Fix for NetworkPolicy blocking sentinel metrics exporter (#6050)
* Fix for NetworkPolicy blocking sentinel metrics exporter When sentinel metrics exporter is enabled, that metrics port needs to be added to the network policy * inc chart version * Fixed port to not be hard coded
This commit is contained in:
@@ -25,4 +25,4 @@ name: redis
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-redis
|
||||
- http://redis.io/
|
||||
version: 13.0.0
|
||||
version: 13.0.1
|
||||
|
||||
@@ -71,4 +71,9 @@ spec:
|
||||
- ports:
|
||||
- port: 9121
|
||||
{{- end }}
|
||||
{{- if .Values.sentinel.metrics.enabled }}
|
||||
# Allow prometheus scrapes for sentinel metrics
|
||||
- ports:
|
||||
- port: {{ .Values.sentinel.metrics.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user