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 }}
name: {{ $port.name }}
{{- end }}
externalTrafficPolicy: {{ .Values.nginx.service.externalTrafficPolicy }}
selector:
{{- include "mailproxy.nginx.selectorLabels" . | nindent 4 }}

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

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

Loading…
Cancel
Save