fix: fix ingress service to ClusterIP

This commit is contained in:
2025-09-19 18:42:05 +02:00
parent 0d6d23b14b
commit 8a264f99eb
@@ -59,15 +59,17 @@ controller:
minAvailable: {{ .Values.nginx.pdb.minAvailable }} minAvailable: {{ .Values.nginx.pdb.minAvailable }}
{{- if .Values.clusterConfig.ingress_nodeport }}
service: service:
externalTrafficPolicy: Local externalTrafficPolicy: Local
{{- if .Values.clusterConfig.ingress_nodeport }}
type: NodePort type: NodePort
nodePorts: nodePorts:
http: 30080 http: 30080
https: 30443 https: 30443
tcp: {} tcp: {}
udp: {} udp: {}
{{- else }}
type: ClusterIP
{{- end }} {{- end }}
hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }} hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }}