mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 14:57:31 +08:00
[bitnami/cert-manager] fix: webhook networkpolicy (#25224)
* fix(cert-manager): webhook networkpolicy Signed-off-by: Johannes Voscort <johannes.voscort@codecentric.de> * fix(cert-manager): webhook networkpolicy Signed-off-by: Johannes Voscort <johannes.voscort@codecentric.de> --------- Signed-off-by: Johannes Voscort <johannes.voscort@codecentric.de> Co-authored-by: Johannes Voscort <johannes.voscort@codecentric.de>
This commit is contained in:
@@ -35,4 +35,4 @@ maintainers:
|
||||
name: cert-manager
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/cert-manager
|
||||
version: 1.1.1
|
||||
version: 1.1.2
|
||||
|
||||
@@ -39,7 +39,7 @@ spec:
|
||||
{{- end }}
|
||||
# Allow outbound connections to other cluster pods
|
||||
- ports:
|
||||
- port: {{ .Values.webhook.containerPort }}
|
||||
- port: {{ coalesce .Values.webhook.containerPort .Values.webhook.containerPorts.https }}
|
||||
to:
|
||||
- podSelector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 14 }}
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- end }}
|
||||
ingress:
|
||||
- ports:
|
||||
- port: {{ .Values.webhook.containerPort }}
|
||||
- port: {{ coalesce .Values.webhook.containerPort .Values.webhook.containerPorts.https }}
|
||||
{{- if not .Values.webhook.networkPolicy.allowExternal }}
|
||||
from:
|
||||
- podSelector:
|
||||
|
||||
Reference in New Issue
Block a user