fix(postfix): Added service type definition analogous to dovecot

This commit is contained in:
Philip Gaber
2024-12-19 15:27:11 +01:00
committed by Dominik Kaminski
parent 4cda827f55
commit 31ec1003c0

View File

@@ -86,4 +86,11 @@ replicaCount: {{ .Values.replicas.postfix }}
resources:
{{ .Values.resources.postfix | toYaml | nindent 2 }}
{{- if or (eq .Values.cluster.service.type "NodePort") (eq .Values.cluster.service.type "LoadBalancer") }}
service:
external:
enabled: true
type: {{ .Values.cluster.service.type | quote }}
{{- end }}
...