Skip to content

update sourceLabels and sourceNamespace docs #3516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions networking/v1alpha3/virtual_service.pb.go

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

12 changes: 12 additions & 0 deletions networking/v1alpha3/virtual_service.pb.html

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

18 changes: 18 additions & 0 deletions networking/v1alpha3/virtual_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,9 @@ message HTTPMatchRequest {
// with the given labels. If the VirtualService has a list of gateways specified
// in the top-level `gateways` field, it must include the reserved gateway
// `mesh` for this field to be applicable.
//
// **Note:** This is not a runtime match, but is a selector; it filters which workloads the
// VirtualService applies to.
map<string, string> source_labels = 7;

// Names of gateways where the rule should be applied. Gateway names
Expand Down Expand Up @@ -855,6 +858,9 @@ message HTTPMatchRequest {
// Source namespace constraining the applicability of a rule to workloads in that namespace.
// If the VirtualService has a list of gateways specified in the top-level `gateways` field,
// it must include the reserved gateway `mesh` for this field to be applicable.
//
// **Note:** This is not a runtime match, but is a selector; it filters which workloads the
// VirtualService applies to.
string source_namespace = 13;

// The human readable prefix to use when emitting statistics for this route.
Expand Down Expand Up @@ -983,6 +989,9 @@ message L4MatchAttributes {
// workloads with the given labels. If the VirtualService has a list of
// gateways specified in the top-level `gateways` field, it should include the reserved gateway
// `mesh` in order for this field to be applicable.
//
// **Note:** This is not a runtime match, but is a selector; it filters which workloads the
// VirtualService applies to.
map<string, string> source_labels = 4;

// Names of gateways where the rule should be applied. Gateway names
Expand All @@ -993,6 +1002,9 @@ message L4MatchAttributes {
// Source namespace constraining the applicability of a rule to workloads in that namespace.
// If the VirtualService has a list of gateways specified in the top-level `gateways` field,
// it must include the reserved gateway `mesh` for this field to be applicable.
//
// **Note:** This is not a runtime match, but is a selector; it filters which workloads the
// VirtualService applies to.
string source_namespace = 6;
}

Expand Down Expand Up @@ -1021,6 +1033,9 @@ message TLSMatchAttributes {
// workloads with the given labels. If the VirtualService has a list of
// gateways specified in the top-level `gateways` field, it should include the reserved gateway
// `mesh` in order for this field to be applicable.
//
// **Note:** This is not a runtime match, but is a selector; it filters which workloads the
// VirtualService applies to.
map<string, string> source_labels = 5;

// Names of gateways where the rule should be applied. Gateway names
Expand All @@ -1031,6 +1046,9 @@ message TLSMatchAttributes {
// Source namespace constraining the applicability of a rule to workloads in that namespace.
// If the VirtualService has a list of gateways specified in the top-level `gateways` field,
// it must include the reserved gateway `mesh` for this field to be applicable.
//
// **Note:** This is not a runtime match, but is a selector; it filters which workloads the
// VirtualService applies to.
string source_namespace = 7;
}

Expand Down