Skip to content

Commit 2d8537b

Browse files
authored
update sourceLabels and sourceNamespace docs (#3516)
* update sourceLabels and sourceNamespace docs * made gen
1 parent 525552f commit 2d8537b

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

networking/v1alpha3/virtual_service.pb.go

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

networking/v1alpha3/virtual_service.pb.html

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

networking/v1alpha3/virtual_service.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,9 @@ message HTTPMatchRequest {
817817
// with the given labels. If the VirtualService has a list of gateways specified
818818
// in the top-level `gateways` field, it must include the reserved gateway
819819
// `mesh` for this field to be applicable.
820+
//
821+
// **Note:** This is not a runtime match, but is a selector; it filters which workloads the
822+
// VirtualService applies to.
820823
map<string, string> source_labels = 7;
821824

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

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

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

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

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

0 commit comments

Comments
 (0)