fix: fix ingress nodeport and loadbalancer

This commit is contained in:
2025-11-16 13:12:04 +01:00
parent 19d1b00ce1
commit 9e71b4dd1d
3 changed files with 11 additions and 1 deletions
+2
View File
@@ -11,6 +11,8 @@ clusterConfig:
cluster: "hel1"
ingress_nodes: ["controlplane-1, controlplane-2, controlplane-3"]
ingress_replica_count: 3
ingress_loadbalancer: true
ingress_nodeport: true
fileserver: "10.0.1.1"
s3:
hosts: []
+1
View File
@@ -23,6 +23,7 @@ clusterConfig:
ingress_hostnetwork: false
ingress_hostport: false
ingress_nodeport: true
ingress_loadbalancer: false
acme:
email: "acme@oceanbox.io"
dns01: "namecheap-apikey"
@@ -60,7 +60,14 @@ controller:
minAvailable: {{ .Values.nginx.pdb.minAvailable }}
service:
{{- if .Values.clusterConfig.ingress_nodeport }}
{{- if .Values.clusterConfig.ingress_loadbalancer }}
type: LoadBalancer
{{- if .Values.clusterConfig.ingress_nodeport }}
nodePorts:
http: 30080
https: 30443
{{- end }}
{{- else if .Values.clusterConfig.ingress_nodeport }}
type: NodePort
externalTrafficPolicy: Local
nodePorts: