fix: make ingress networking more configurable
This commit is contained in:
@@ -14,7 +14,9 @@ clusterConfig:
|
|||||||
ingress_nodes: ["rossby, rossby-manage" ]
|
ingress_nodes: ["rossby, rossby-manage" ]
|
||||||
ingress_replica_count: 2
|
ingress_replica_count: 2
|
||||||
ingress_clusterissuer: ca-issuer
|
ingress_clusterissuer: ca-issuer
|
||||||
ingress_hostport: true
|
ingress_hostnetwork: true
|
||||||
|
ingress_hostport: false
|
||||||
|
ingress_nodeport: false
|
||||||
fileserver: "172.16.239.222"
|
fileserver: "172.16.239.222"
|
||||||
acme_email: "acme@oceanbox.io"
|
acme_email: "acme@oceanbox.io"
|
||||||
oidc:
|
oidc:
|
||||||
|
|||||||
@@ -20,7 +20,9 @@ clusterConfig:
|
|||||||
- 172.16.0.0/12
|
- 172.16.0.0/12
|
||||||
- 192.168.0.0/16
|
- 192.168.0.0/16
|
||||||
- 172.19.255.0/24
|
- 172.19.255.0/24
|
||||||
|
ingress_hostnetwork: false
|
||||||
ingress_hostport: false
|
ingress_hostport: false
|
||||||
|
ingress_nodeport: true
|
||||||
oidc: []
|
oidc: []
|
||||||
#- name: azure
|
#- name: azure
|
||||||
# provider: azuread
|
# provider: azuread
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
# See templates/_helpers.tpl
|
# See templates/_helpers.tpl
|
||||||
# nameOverride:
|
# nameOverride:
|
||||||
fullnameOverride: main-ingress-nginx
|
fullnameOverride: main-ingress-nginx
|
||||||
|
hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }}
|
||||||
controller:
|
controller:
|
||||||
resources:
|
resources:
|
||||||
#limits:
|
#limits:
|
||||||
@@ -59,6 +60,7 @@ controller:
|
|||||||
|
|
||||||
minAvailable: {{ .Values.nginx.pdb.minAvailable }}
|
minAvailable: {{ .Values.nginx.pdb.minAvailable }}
|
||||||
|
|
||||||
|
{{- if .Values.clusterConfig.ingress_nodeport }}
|
||||||
service:
|
service:
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
type: NodePort # ClusterIP
|
type: NodePort # ClusterIP
|
||||||
@@ -67,6 +69,7 @@ controller:
|
|||||||
https: 30443
|
https: 30443
|
||||||
tcp: {}
|
tcp: {}
|
||||||
udp: {}
|
udp: {}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
hostPort:
|
hostPort:
|
||||||
enabled: {{ .Values.clusterConfig.ingress_hostport }}
|
enabled: {{ .Values.clusterConfig.ingress_hostport }}
|
||||||
|
|||||||
Reference in New Issue
Block a user