[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:
Johannes-
2024-04-22 14:32:16 +02:00
committed by GitHub
parent 50b96b0964
commit 8c56649641
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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: