mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 14:57:31 +08:00
[bitnami/rabbitmq-cluster-operator] fix: 🐛 Add webhook port to network policy (#23200)
* [bitnami/rabbitmq-cluster-operator] fix: 🐛 Add webhook port to network policy Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * chore: 🔖 Bump chart version Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> --------- Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
committed by
GitHub
parent
534b481fd3
commit
ca03588e0e
@@ -55,9 +55,12 @@ spec:
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.msgTopologyOperator.networkPolicy.extraEgress "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
ingress:
|
||||
{{- if .Values.msgTopologyOperator.metrics.enabled }}
|
||||
- ports:
|
||||
{{/* Webhook port is hardcoded in the operator code */}}
|
||||
- port: 9443
|
||||
{{- if .Values.msgTopologyOperator.metrics.enabled }}
|
||||
- port: {{ .Values.msgTopologyOperator.metrics.containerPorts.metrics }}
|
||||
{{- end }}
|
||||
{{- if not .Values.msgTopologyOperator.networkPolicy.allowExternal }}
|
||||
from:
|
||||
- podSelector:
|
||||
@@ -81,7 +84,6 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.msgTopologyOperator.networkPolicy.extraIngress }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.msgTopologyOperator.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user