fix: fix ingress service to ClusterIP
This commit is contained in:
@@ -59,15 +59,17 @@ controller:
|
||||
|
||||
minAvailable: {{ .Values.nginx.pdb.minAvailable }}
|
||||
|
||||
{{- if .Values.clusterConfig.ingress_nodeport }}
|
||||
service:
|
||||
externalTrafficPolicy: Local
|
||||
{{- if .Values.clusterConfig.ingress_nodeport }}
|
||||
type: NodePort
|
||||
nodePorts:
|
||||
http: 30080
|
||||
https: 30443
|
||||
tcp: {}
|
||||
udp: {}
|
||||
{{- else }}
|
||||
type: ClusterIP
|
||||
{{- end }}
|
||||
|
||||
hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }}
|
||||
|
||||
Reference in New Issue
Block a user