mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-08 15:34:46 +08:00
Add externalTrafficPolicy to helm Fixes #239
This commit is contained in:
parent
76bde40218
commit
450ec84828
2 changed files with 16 additions and 6 deletions
|
@ -14,6 +14,9 @@ metadata:
|
||||||
{{- with .Values.service.annotations }}{{ toYaml . | nindent 4 }}{{ end }}
|
{{- with .Values.service.annotations }}{{ toYaml . | nindent 4 }}{{ end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
|
{{- if .Values.externalTrafficPolicy }}
|
||||||
|
externalTrafficPolicy: {{ .Values.externalTrafficPolicy }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.service.spec }}{{ toYaml . | nindent 2 }}{{ end }}
|
{{- with .Values.service.spec }}{{ toYaml . | nindent 2 }}{{ end }}
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.service.port }}
|
- port: {{ .Values.service.port }}
|
||||||
|
|
|
@ -19,6 +19,7 @@ service:
|
||||||
port: 587
|
port: 587
|
||||||
labels: {}
|
labels: {}
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
# externalTrafficPolicy: Cluster
|
||||||
# nodePort:
|
# nodePort:
|
||||||
|
|
||||||
# StatefulSets now require a headless service
|
# StatefulSets now require a headless service
|
||||||
|
@ -84,7 +85,8 @@ metrics:
|
||||||
# a pod and let `StatefulSet` recreate it.
|
# a pod and let `StatefulSet` recreate it.
|
||||||
recreateOnRedeploy: true
|
recreateOnRedeploy: true
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
|
{}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
@ -154,7 +156,8 @@ existingSecret: ""
|
||||||
mountSecret:
|
mountSecret:
|
||||||
enabled: false
|
enabled: false
|
||||||
path: /var/lib/secret
|
path: /var/lib/secret
|
||||||
data: {}
|
data:
|
||||||
|
{}
|
||||||
# e.g.
|
# e.g.
|
||||||
# dkim-private: |
|
# dkim-private: |
|
||||||
# -----BEGIN RSA PRIVATE KEY-----
|
# -----BEGIN RSA PRIVATE KEY-----
|
||||||
|
@ -162,7 +165,8 @@ mountSecret:
|
||||||
# -----END RSA PRIVATE KEY-----
|
# -----END RSA PRIVATE KEY-----
|
||||||
|
|
||||||
config:
|
config:
|
||||||
general: {}
|
general:
|
||||||
|
{}
|
||||||
# e.g.
|
# e.g.
|
||||||
# TZ:
|
# TZ:
|
||||||
# FORCE_COLOR:
|
# FORCE_COLOR:
|
||||||
|
@ -178,18 +182,21 @@ config:
|
||||||
# SMTP_HEADER_CHECKS:
|
# SMTP_HEADER_CHECKS:
|
||||||
# DKIM_SELECTOR:
|
# DKIM_SELECTOR:
|
||||||
# DKIM_AUTOGENERATE:
|
# DKIM_AUTOGENERATE:
|
||||||
postfix: {}
|
postfix:
|
||||||
|
{}
|
||||||
# e.g.
|
# e.g.
|
||||||
# myhostname: "postfix"
|
# myhostname: "postfix"
|
||||||
# smtp_tls_security_level: "encrypt"
|
# smtp_tls_security_level: "encrypt"
|
||||||
opendkim: {}
|
opendkim:
|
||||||
|
{}
|
||||||
# e.g.
|
# e.g.
|
||||||
# RequireSafeKeys: "yes"
|
# RequireSafeKeys: "yes"
|
||||||
|
|
||||||
dns:
|
dns:
|
||||||
policy: ""
|
policy: ""
|
||||||
# policy: "None"
|
# policy: "None"
|
||||||
nameservers: {}
|
nameservers:
|
||||||
|
{}
|
||||||
# - 8.8.8.8
|
# - 8.8.8.8
|
||||||
# - 8.8.4.4
|
# - 8.8.4.4
|
||||||
searches: ""
|
searches: ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue