fix: fix ingress nodeport and loadbalancer
This commit is contained in:
@@ -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: []
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user