fix: fix ingress nodeport and loadbalancer
This commit is contained in:
@@ -11,6 +11,8 @@ clusterConfig:
|
|||||||
cluster: "hel1"
|
cluster: "hel1"
|
||||||
ingress_nodes: ["controlplane-1, controlplane-2, controlplane-3"]
|
ingress_nodes: ["controlplane-1, controlplane-2, controlplane-3"]
|
||||||
ingress_replica_count: 3
|
ingress_replica_count: 3
|
||||||
|
ingress_loadbalancer: true
|
||||||
|
ingress_nodeport: true
|
||||||
fileserver: "10.0.1.1"
|
fileserver: "10.0.1.1"
|
||||||
s3:
|
s3:
|
||||||
hosts: []
|
hosts: []
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ clusterConfig:
|
|||||||
ingress_hostnetwork: false
|
ingress_hostnetwork: false
|
||||||
ingress_hostport: false
|
ingress_hostport: false
|
||||||
ingress_nodeport: true
|
ingress_nodeport: true
|
||||||
|
ingress_loadbalancer: false
|
||||||
acme:
|
acme:
|
||||||
email: "acme@oceanbox.io"
|
email: "acme@oceanbox.io"
|
||||||
dns01: "namecheap-apikey"
|
dns01: "namecheap-apikey"
|
||||||
|
|||||||
@@ -60,7 +60,14 @@ controller:
|
|||||||
minAvailable: {{ .Values.nginx.pdb.minAvailable }}
|
minAvailable: {{ .Values.nginx.pdb.minAvailable }}
|
||||||
|
|
||||||
service:
|
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
|
type: NodePort
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
nodePorts:
|
nodePorts:
|
||||||
|
|||||||
Reference in New Issue
Block a user