Skip to content

Commit 5cd777e

Browse files
committed
wrapping some examples for tag
Signed-off-by: slayer321 <[email protected]>
1 parent 4c19bc5 commit 5cd777e

8 files changed

+118
-161
lines changed

apis/v1beta1/shared_types.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ type ParentReference struct {
6666
// Gateway has the AllowedRoutes field, and ReferenceGrant provides a
6767
// generic way to enable any other kind of cross-namespace reference.
6868
//
69+
//<experimental:description>
6970
// ParentRefs from a Route to a Service in the same namespace are "producer"
7071
// routes, which apply default routing rules to inbound connections from
7172
// any namespace to the Service.
@@ -75,6 +76,7 @@ type ParentReference struct {
7576
// connections originating from the same namespace as the Route, for which
7677
// the intended destination of the connections are a Service targeted as a
7778
// ParentRef of the Route.
79+
//</experimental:description>
7880
//
7981
// Support: Core
8082
//
@@ -127,9 +129,11 @@ type ParentReference struct {
127129
// and SectionName are specified, the name and port of the selected listener
128130
// must match both specified values.
129131
//
132+
//<experimental:description>
130133
// When the parent resource is a Service, this targets a specific port in the
131134
// Service spec. When both Port (experimental) and SectionName are specified,
132135
// the name and port of the selected port must match both specified values.
136+
//</experimental:description>
133137
//
134138
// Implementations MAY choose to support other parent resources.
135139
// Implementations supporting other types of parent resources MUST clearly
@@ -167,8 +171,9 @@ type CommonRouteSpec struct {
167171
// There are two kinds of parent resources with "Core" support:
168172
//
169173
// * Gateway (Gateway conformance profile)
174+
//<experimental:description>
170175
// * Service (Mesh conformance profile, experimental, ClusterIP Services only)
171-
//
176+
//</experimental:description>
172177
// This API may be extended in the future to support additional kinds of parent
173178
// resources.
174179
//
@@ -189,6 +194,7 @@ type CommonRouteSpec struct {
189194
// Gateway has the AllowedRoutes field, and ReferenceGrant provides a
190195
// generic way to enable other kinds of cross-namespace reference.
191196
//
197+
//<experimental:description>
192198
// ParentRefs from a Route to a Service in the same namespace are "producer"
193199
// routes, which apply default routing rules to inbound connections from
194200
// any namespace to the Service.
@@ -198,6 +204,7 @@ type CommonRouteSpec struct {
198204
// connections originating from the same namespace as the Route, for which
199205
// the intended destination of the connections are a Service targeted as a
200206
// ParentRef of the Route.
207+
//</experimental:description>
201208
//
202209
// +optional
203210
// +kubebuilder:validation:MaxItems=32

config/crd/experimental/gateway.networking.k8s.io_grpcroutes.yaml

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

0 commit comments

Comments
 (0)