fix: make ingress networking more configurable

This commit is contained in:
2025-09-19 17:38:36 +02:00
parent b836774f85
commit 0fb0eb235d
3 changed files with 8 additions and 1 deletions
@@ -5,6 +5,7 @@
# See templates/_helpers.tpl
# nameOverride:
fullnameOverride: main-ingress-nginx
hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }}
controller:
resources:
#limits:
@@ -59,6 +60,7 @@ controller:
minAvailable: {{ .Values.nginx.pdb.minAvailable }}
{{- if .Values.clusterConfig.ingress_nodeport }}
service:
externalTrafficPolicy: Local
type: NodePort # ClusterIP
@@ -67,6 +69,7 @@ controller:
https: 30443
tcp: {}
udp: {}
{{- end }}
hostPort:
enabled: {{ .Values.clusterConfig.ingress_hostport }}