From 5e6e8d4de4d06ccd24ece6ffd3e0c1ff65cb0449 Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Fri, 19 Sep 2025 18:11:12 +0200 Subject: [PATCH] fix: limit no workers with hostNetwork --- values/ingress-nginx/values/ingress-nginx.yaml.gotmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl b/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl index 9749713d..291e4487 100644 --- a/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl +++ b/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl @@ -13,7 +13,7 @@ controller: cpu: {{ .Values.nginx.resources.controller.cpu }} memory: {{ .Values.nginx.resources.controller.memory }} - {{if eq .Values.clusterConfig.ingress_hostnetwork }} + {{if .Values.clusterConfig.ingress_hostnetwork }} config: worker-prcesses: 32 {{end }} @@ -62,7 +62,7 @@ controller: {{- if .Values.clusterConfig.ingress_nodeport }} service: externalTrafficPolicy: Local - type: NodePort # ClusterIP + type: NodePort nodePorts: http: 30080 https: 30443