[bitnami/solr] fix: add missing metrics port to networkpolicy (#25076)

Signed-off-by: François Blondel <francois.blondel@diva-e.com>
Co-authored-by: François Blondel <francois.blondel@diva-e.com>
This commit is contained in:
François Blondel
2024-04-15 16:31:49 +02:00
committed by GitHub
parent 613d43c29d
commit bc4ebc410b

View File

@@ -55,6 +55,10 @@ spec:
- ports:
- port: {{ .Values.containerPorts.http }}
- port: {{ .Values.service.ports.http }}
{{- if .Values.metrics.enabled }}
- port: {{ .Values.metrics.containerPorts.http }}
- port: {{ .Values.metrics.service.ports.http }}
{{- end }}
{{- if not .Values.networkPolicy.allowExternal }}
from:
- podSelector: