Skip to content

Commit

Permalink
fix: enable ipv4 compat mode for dual stack cluster support (envoypro…
Browse files Browse the repository at this point in the history
…xy#5018)

enable ipv4 compat mode for dual stack cluster support

Signed-off-by: Will Tekulve <[email protected]>
  • Loading branch information
tekulvw authored Jan 8, 2025
1 parent 00ecd08 commit e028254
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ spec:
address: '::'
port_value: 19001
protocol: TCP
ipv4_compat: true
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
Expand Down
2 changes: 1 addition & 1 deletion internal/xds/bootstrap/bootstrap.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static_resources:
address: '{{ .ReadyServer.Address }}'
port_value: {{ .ReadyServer.Port }}
protocol: TCP
{{- if eq .IPFamily "DualStack"}}
{{- if eq .IPFamily "DualStack" "IPv6" }}
ipv4_compat: true
{{- end }}
filter_chains:
Expand Down
1 change: 1 addition & 0 deletions internal/xds/bootstrap/testdata/render/ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ static_resources:
address: '::'
port_value: 19001
protocol: TCP
ipv4_compat: true
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
Expand Down

0 comments on commit e028254

Please sign in to comment.