From 8a264f99eb255a7fc4d68f2aa81c4171f7f226f8 Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Fri, 19 Sep 2025 18:42:05 +0200 Subject: [PATCH] fix: fix ingress service to ClusterIP --- values/ingress-nginx/values/ingress-nginx.yaml.gotmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl b/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl index d4fd912e..fc226858 100644 --- a/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl +++ b/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl @@ -59,15 +59,17 @@ controller: minAvailable: {{ .Values.nginx.pdb.minAvailable }} - {{- if .Values.clusterConfig.ingress_nodeport }} service: externalTrafficPolicy: Local + {{- if .Values.clusterConfig.ingress_nodeport }} type: NodePort nodePorts: http: 30080 https: 30443 tcp: {} udp: {} + {{- else }} + type: ClusterIP {{- end }} hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }}