Browse Source

Add config option for nginx service traffic policy

master
Fábio Kaiser Rauber 2 years ago
parent
commit
b09deec971
  1. 1
      charts/mailproxy/v0.1.0/templates/nginx-service.yaml
  2. 1
      charts/mailproxy/v0.1.0/values.yaml

1
charts/mailproxy/v0.1.0/templates/nginx-service.yaml

@ -13,5 +13,6 @@ spec:
protocol: {{ $port.protocol }} protocol: {{ $port.protocol }}
name: {{ $port.name }} name: {{ $port.name }}
{{- end }} {{- end }}
externalTrafficPolicy: {{ .Values.nginx.service.externalTrafficPolicy }}
selector: selector:
{{- include "mailproxy.nginx.selectorLabels" . | nindent 4 }} {{- include "mailproxy.nginx.selectorLabels" . | nindent 4 }}

1
charts/mailproxy/v0.1.0/values.yaml

@ -9,6 +9,7 @@ nginx:
replicaCount: 2 replicaCount: 2
service: service:
type: ClusterIP type: ClusterIP
externalTrafficPolicy: Cluster
ports: ports:
- name: imaps - name: imaps
number: 993 number: 993

Loading…
Cancel
Save