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