fix: make ingress networking more configurable
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
# See templates/_helpers.tpl
|
||||
# nameOverride:
|
||||
fullnameOverride: main-ingress-nginx
|
||||
hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }}
|
||||
controller:
|
||||
resources:
|
||||
#limits:
|
||||
@@ -59,6 +60,7 @@ controller:
|
||||
|
||||
minAvailable: {{ .Values.nginx.pdb.minAvailable }}
|
||||
|
||||
{{- if .Values.clusterConfig.ingress_nodeport }}
|
||||
service:
|
||||
externalTrafficPolicy: Local
|
||||
type: NodePort # ClusterIP
|
||||
@@ -67,6 +69,7 @@ controller:
|
||||
https: 30443
|
||||
tcp: {}
|
||||
udp: {}
|
||||
{{- end }}
|
||||
|
||||
hostPort:
|
||||
enabled: {{ .Values.clusterConfig.ingress_hostport }}
|
||||
|
||||
Reference in New Issue
Block a user