File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11service :
2- type : ClusterIP
2+ type : ClusterIP
Original file line number Diff line number Diff line change 11service :
22 type : ClusterIP
3- externalTrafficPolicy : Local
43
54configMaps :
65 postfix-accounts.cf :
Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ metadata:
2626spec :
2727 # # If a load balancer is being used, ensure that the newer type of LB that passes along IP information is used
2828 # # rather than the legacy one.
29+ {{- if .Values.service.externalTrafficPolicy }}
2930 externalTrafficPolicy : {{ .Values.service.externalTrafficPolicy }}
31+ {{- end }}
3032 selector :
3133 app.kubernetes.io/name : {{ template "dockermailserver.fullname" . }}
3234 release : " {{ .Release.Name }}"
Original file line number Diff line number Diff line change @@ -304,9 +304,9 @@ service:
304304 # # Manually overwrite the externalTrafficPolicy. One of:
305305 # # - Local
306306 # # - Cluster
307- # # Set it to "Local" when used with type "LoadBalancer" or "ClusterIP" and set it to "Cluster" when used with "NodePort",
307+ # # Set it to "Local" when used with type "LoadBalancer" and set it to "Cluster" when used with "NodePort",
308308 # # unless you have a good reason not to.
309- externalTrafficPolicy : " Local "
309+ # externalTrafficPolicy: "Cluster "
310310 # # If there is a port associated with a given service, expose it here.
311311 # port:
312312 # # If there is a particular IP that should be used for the service, specify it here.
You can’t perform that action at this time.
0 commit comments