Skip to content

Commit

Permalink
feat: add ipv4/ipv6 dual stack support listener
Browse files Browse the repository at this point in the history
Signed-off-by: Juwon Hwang (Kevin) <[email protected]>
  • Loading branch information
juwon8891 committed Oct 7, 2024
1 parent 96ebea9 commit 40045b1
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 1 deletion.
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,16 @@ spec:
rule: (has(self.before) && !has(self.after)) || (!has(self.before)
&& has(self.after))
type: array
ipFamily:
default: ipv4
description: |-
IPFamily specifies the IP family for the EnvoyProxy.
It can be ipv4, ipv6, or dual.
enum:
- ipv4
- ipv6
- dual
type: string
logging:
default:
level:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
commonLbConfig:
localityWeightedLbConfig: {}
connectTimeout: 10s
dnsLookupFamily: ALL
dnsLookupFamily: V4_ONLY
edsClusterConfig:
edsConfig:
ads: {}
Expand Down
17 changes: 17 additions & 0 deletions site/content/en/latest/api/extension_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1478,6 +1478,7 @@ _Appears in:_
| `shutdown` | _[ShutdownConfig](#shutdownconfig)_ | false | Shutdown defines configuration for graceful envoy shutdown process. |
| `filterOrder` | _[FilterPosition](#filterposition) array_ | false | FilterOrder defines the order of filters in the Envoy proxy's HTTP filter chain.<br />The FilterPosition in the list will be applied in the order they are defined.<br />If unspecified, the default filter order is applied.<br />Default filter order is:<br /><br />- envoy.filters.http.health_check<br /><br />- envoy.filters.http.fault<br /><br />- envoy.filters.http.cors<br /><br />- envoy.filters.http.ext_authz<br /><br />- envoy.filters.http.basic_auth<br /><br />- envoy.filters.http.oauth2<br /><br />- envoy.filters.http.jwt_authn<br /><br />- envoy.filters.http.stateful_session<br /><br />- envoy.filters.http.ext_proc<br /><br />- envoy.filters.http.wasm<br /><br />- envoy.filters.http.rbac<br /><br />- envoy.filters.http.local_ratelimit<br /><br />- envoy.filters.http.ratelimit<br /><br />- envoy.filters.http.router<br /><br />Note: "envoy.filters.http.router" cannot be reordered, it's always the last filter in the chain. |
| `backendTLS` | _[BackendTLSConfig](#backendtlsconfig)_ | false | BackendTLS is the TLS configuration for the Envoy proxy to use when connecting to backends.<br />These settings are applied on backends for which TLS policies are specified. |
| `ipFamily` | _[IPFamily](#ipfamily)_ | false | IPFamily specifies the IP family for the EnvoyProxy.<br />It can be ipv4, ipv6, or dual. |


#### EnvoyProxyStatus
Expand Down Expand Up @@ -2157,6 +2158,22 @@ _Appears in:_
| `port` | _integer_ | true | Port defines the port of the backend endpoint. |


#### IPFamily

_Underlying type:_ _string_

IPFamily defines the IP family to use for the Envoy proxy.

_Appears in:_
- [EnvoyProxySpec](#envoyproxyspec)

| Value | Description |
| ----- | ----------- |
| `IPv4` | IPv4 defines the IPv4 family.<br /> |
| `IPv6` | IPv6 defines the IPv6 family.<br /> |
| `DualStack` | DualStack defines the dual-stack family.<br /> |


#### ImagePullPolicy

_Underlying type:_ _string_
Expand Down
17 changes: 17 additions & 0 deletions site/content/zh/latest/api/extension_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1478,6 +1478,7 @@ _Appears in:_
| `shutdown` | _[ShutdownConfig](#shutdownconfig)_ | false | Shutdown defines configuration for graceful envoy shutdown process. |
| `filterOrder` | _[FilterPosition](#filterposition) array_ | false | FilterOrder defines the order of filters in the Envoy proxy's HTTP filter chain.<br />The FilterPosition in the list will be applied in the order they are defined.<br />If unspecified, the default filter order is applied.<br />Default filter order is:<br /><br />- envoy.filters.http.health_check<br /><br />- envoy.filters.http.fault<br /><br />- envoy.filters.http.cors<br /><br />- envoy.filters.http.ext_authz<br /><br />- envoy.filters.http.basic_auth<br /><br />- envoy.filters.http.oauth2<br /><br />- envoy.filters.http.jwt_authn<br /><br />- envoy.filters.http.stateful_session<br /><br />- envoy.filters.http.ext_proc<br /><br />- envoy.filters.http.wasm<br /><br />- envoy.filters.http.rbac<br /><br />- envoy.filters.http.local_ratelimit<br /><br />- envoy.filters.http.ratelimit<br /><br />- envoy.filters.http.router<br /><br />Note: "envoy.filters.http.router" cannot be reordered, it's always the last filter in the chain. |
| `backendTLS` | _[BackendTLSConfig](#backendtlsconfig)_ | false | BackendTLS is the TLS configuration for the Envoy proxy to use when connecting to backends.<br />These settings are applied on backends for which TLS policies are specified. |
| `ipFamily` | _[IPFamily](#ipfamily)_ | false | IPFamily specifies the IP family for the EnvoyProxy.<br />It can be ipv4, ipv6, or dual. |


#### EnvoyProxyStatus
Expand Down Expand Up @@ -2157,6 +2158,22 @@ _Appears in:_
| `port` | _integer_ | true | Port defines the port of the backend endpoint. |


#### IPFamily

_Underlying type:_ _string_

IPFamily defines the IP family to use for the Envoy proxy.

_Appears in:_
- [EnvoyProxySpec](#envoyproxyspec)

| Value | Description |
| ----- | ----------- |
| `IPv4` | IPv4 defines the IPv4 family.<br /> |
| `IPv6` | IPv6 defines the IPv6 family.<br /> |
| `DualStack` | DualStack defines the dual-stack family.<br /> |


#### ImagePullPolicy

_Underlying type:_ _string_
Expand Down

0 comments on commit 40045b1

Please sign in to comment.