Skip to content

Commit

Permalink
allow defining ipFamilyPolicy for external service
Browse files Browse the repository at this point in the history
  • Loading branch information
roobre committed Aug 6, 2024
1 parent cfc2b7b commit da26800
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mailu/templates/front/service-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
{{- with .Values.front.externalService }}
type: {{ .type | default "ClusterIP" }}
externalTrafficPolicy: {{ .externalTrafficPolicy | default "Local" }}
{{- with .ipFamilyPolicy }}
ipFamilyPolicy: {{ . | quote }}
{{- end }}
{{- if .loadBalancerIP }}
loadBalancerIP: {{ .loadBalancerIP }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions mailu/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ front:
## @param front.externalService.enabled Expose front mail ports via external service (ClusterIP or LoadBalancer)
## @param front.externalService.type Service type (ClusterIP or LoadBalancer)
## @param front.externalService.externalTrafficPolicy Service externalTrafficPolicy (Cluster or Local)
## @param front.externalService.ipFamilyPolicy Service ipFamilyPolicy, for dual stack clusters.
## @param front.externalService.loadBalancerIP Service loadBalancerIP
## @param front.externalService.annotations Service annotations
## @param front.externalService.ports.pop3 Expose POP3 port - 110/tcp
Expand All @@ -694,6 +695,7 @@ front:
## type: LoadBalancer
loadBalancerIP: ""
externalTrafficPolicy: Local
ipFamilyPolicy: ""
annotations: {}
ports:
pop3: false
Expand Down

0 comments on commit da26800

Please sign in to comment.