Skip to content

Commit

Permalink
[proxy/dualstack] impr: allow specify ipFamilies for external LB
Browse files Browse the repository at this point in the history
This adds `.Values.exposedService.ipFamilies` to allow requesting dual stack external Load Balancer in Azure Cloud.
  • Loading branch information
chaporgin committed Aug 18, 2024
1 parent 20ac05a commit 9ff7e15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/neon-proxy/templates/service.exposed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
labels:
{{- include "neon-proxy.labels" . | nindent 4 }}
spec:
{{- with .Values.exposedService.ipFamilies }}
ipFamilies: {{ . | toYaml | nindent 2 }}
{{- end }}
type: {{ .Values.exposedService.type }}
ports:
- port: {{ .Values.exposedService.port }}
Expand Down
2 changes: 2 additions & 0 deletions charts/neon-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ service:
httpPort: 9090

exposedService:
# In AKS to provision dual stack LB one needs to set ipFamilies to ["IPv4", "IPv6"]
ipFamilies: null
# exposedService.annotations -- Annotations to add to the exposed service
annotations: {}
# service.beta.kubernetes.io/aws-load-balancer-type: external
Expand Down

0 comments on commit 9ff7e15

Please sign in to comment.