mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
add metrics port to network policy (#16438)
Allow connections to metrics port when both network policy and metrics are enabled Signed-off-by: Reinier Schoof <reinier@skoef.nl> Signed-off-by: Rafael Ríos Saavedra <rrios@vmware.com> Co-authored-by: Rafael Ríos Saavedra <rrios@vmware.com>
This commit is contained in:
@@ -23,4 +23,4 @@ maintainers:
|
||||
name: nats
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/nats
|
||||
version: 7.8.0
|
||||
version: 7.8.1
|
||||
@@ -27,4 +27,8 @@ spec:
|
||||
- port: {{ .Values.service.ports.cluster }}
|
||||
- ports:
|
||||
- port: {{ .Values.service.ports.monitoring }}
|
||||
{{- if .Values.metrics.enabled }}
|
||||
- ports:
|
||||
- port: {{ .Values.metrics.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user