Skip to content

Commit 7f51b68

Browse files
committed
api: allow_any_dynamic_dns mode in outbound traffic policy
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
1 parent b10ab91 commit 7f51b68

6 files changed

Lines changed: 228 additions & 14 deletions

File tree

kubernetes/customresourcedefinitions.gen.yaml

Lines changed: 162 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1/sidecar_alias.gen.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/sidecar.pb.go

Lines changed: 31 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/sidecar.pb.html

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/sidecar.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,9 @@ message OutboundTrafficPolicy {
579579
// This mode allows users that do not have all possible egress destinations registered through `ServiceEntry` configurations to still connect
580580
// to arbitrary destinations.
581581
ALLOW_ANY = 1;
582+
// In `ALLOW_ANY_DYNAMIC_DNS` mode, any traffic to unknown destinations will be allowed using dynamic DNS resolution.
583+
// Client TLS settings can be configured for connections to such destinations.
584+
ALLOW_ANY_DYNAMIC_DNS = 2;
582585
}
583586
Mode mode = 1;
584587

@@ -597,6 +600,11 @@ message OutboundTrafficPolicy {
597600
// connections.
598601
// $hide_from_docs
599602
Destination egress_proxy = 2;
603+
604+
// TLS settings to apply for outbound traffic to unknown destinations.
605+
// Valid only when mode is set to `ALLOW_ANY_DYNAMIC_DNS`.
606+
// If not specified, no TLS will be applied to outbound traffic.
607+
ClientTLSSettings tls = 3;
600608
}
601609

602610
// `CaptureMode` describes how traffic to a listener is expected to be

networking/v1beta1/sidecar_alias.gen.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)