Skip to content

Commit eab8b94

Browse files
committed
Renaming stable channel to standard channel
1 parent e743aa8 commit eab8b94

17 files changed

+198
-53
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ apis/generated/** linguist-generated=true
99
apis/**/generated.pb.go linguist-generated=true
1010
apis/**/generated.proto linguist-generated=true
1111
config/crd/experimental/** linguist-generated=true
12-
config/crd/stable/** linguist-generated=true
12+
config/crd/standard/** linguist-generated=true
1313
pkg/client/** linguist-generated=true
1414

config/crd/kustomization.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
resources:
2-
- stable/gateway.networking.k8s.io_gatewayclasses.yaml
3-
- stable/gateway.networking.k8s.io_gateways.yaml
4-
- stable/gateway.networking.k8s.io_httproutes.yaml
5-
- stable/gateway.networking.k8s.io_referencegrants.yaml
6-
- stable/gateway.networking.k8s.io_tcproutes.yaml
7-
- stable/gateway.networking.k8s.io_tlsroutes.yaml
8-
- stable/gateway.networking.k8s.io_udproutes.yaml
2+
- standard/gateway.networking.k8s.io_gatewayclasses.yaml
3+
- standard/gateway.networking.k8s.io_gateways.yaml
4+
- standard/gateway.networking.k8s.io_httproutes.yaml
5+
- standard/gateway.networking.k8s.io_referencegrants.yaml
6+
- standard/gateway.networking.k8s.io_tcproutes.yaml
7+
- standard/gateway.networking.k8s.io_tlsroutes.yaml
8+
- standard/gateway.networking.k8s.io_udproutes.yaml

config/crd/stable/gateway.networking.k8s.io_gatewayclasses.yaml config/crd/standard/gateway.networking.k8s.io_gatewayclasses.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/stable/gateway.networking.k8s.io_gateways.yaml config/crd/standard/gateway.networking.k8s.io_gateways.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/stable/gateway.networking.k8s.io_httproutes.yaml config/crd/standard/gateway.networking.k8s.io_httproutes.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/stable/gateway.networking.k8s.io_referencegrants.yaml config/crd/standard/gateway.networking.k8s.io_referencegrants.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/standard/gateway.networking.k8s.io_referencepolicies.yaml

+145
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/stable/gateway.networking.k8s.io_tcproutes.yaml config/crd/standard/gateway.networking.k8s.io_tcproutes.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/stable/gateway.networking.k8s.io_tlsroutes.yaml config/crd/standard/gateway.networking.k8s.io_tlsroutes.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/stable/gateway.networking.k8s.io_udproutes.yaml config/crd/standard/gateway.networking.k8s.io_udproutes.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hack/build-install-yaml.sh

+10-10
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ cat << EOF >> release/experimental-install.yaml
3131
#
3232
EOF
3333

34-
cat hack/boilerplate/boilerplate.sh.txt > release/stable-install.yaml
35-
sed -i "s/YEAR/$thisyear/g" release/stable-install.yaml
36-
cat << EOF >> release/stable-install.yaml
34+
cat hack/boilerplate/boilerplate.sh.txt > release/standard-install.yaml
35+
sed -i "s/YEAR/$thisyear/g" release/standard-install.yaml
36+
cat << EOF >> release/standard-install.yaml
3737
#
38-
# Gateway API Stable channel install
38+
# Gateway API Standard channel install
3939
#
4040
EOF
4141

@@ -48,13 +48,13 @@ do
4848
cat $file >> release/experimental-install.yaml
4949
done
5050

51-
for file in `ls config/webhook/*.yaml config/crd/stable/*.yaml`
51+
for file in `ls config/webhook/*.yaml config/crd/standard/*.yaml`
5252
do
53-
echo "---" >> release/stable-install.yaml
54-
echo "#" >> release/stable-install.yaml
55-
echo "# $file" >> release/stable-install.yaml
56-
echo "#" >> release/stable-install.yaml
57-
cat $file >> release/stable-install.yaml
53+
echo "---" >> release/standard-install.yaml
54+
echo "#" >> release/standard-install.yaml
55+
echo "# $file" >> release/standard-install.yaml
56+
echo "#" >> release/standard-install.yaml
57+
cat $file >> release/standard-install.yaml
5858
done
5959

6060
echo "Generated:" release/*-install.yaml

hack/verify-examples-kind.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ for check in {1..10}; do
6969
echo "Webhook not ready yet, will check again in 5 seconds"
7070
done
7171

72-
for CHANNEL in experimental stable; do
72+
for CHANNEL in experimental standard; do
7373
##### Test v1alpha2 CRD apply and that invalid examples are invalid.
7474
# Install CRDs
7575
kubectl apply -f "config/crd/${CHANNEL}" || res=$?

pkg/generator/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func main() {
8080
log.Fatalf("no objects in the roots")
8181
}
8282

83-
channels := []string{"stable", "experimental"}
83+
channels := []string{"standard", "experimental"}
8484
for _, channel := range channels {
8585
for groupKind := range kubeKinds {
8686
log.Printf("generating %s CRD for %v\n", channel, groupKind)
@@ -126,7 +126,7 @@ func main() {
126126
func channelTweaks(channel string, props map[string]apiext.JSONSchemaProps) map[string]apiext.JSONSchemaProps {
127127
for name := range props {
128128
jsonProps, _ := props[name]
129-
if channel == "stable" && strings.Contains(jsonProps.Description, "<gateway:experimental>") {
129+
if channel == "standard" && strings.Contains(jsonProps.Description, "<gateway:experimental>") {
130130
delete(props, name)
131131
continue
132132
}

site-src/concepts/versioning.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ documentation](https://kubernetes.io/docs/reference/using-api/#api-versioning).
2020
![Lifecycle of New Gateway API Resources](/images/lifecycle-new-resources.png)
2121
<!-- Source: https://docs.google.com/presentation/d/1sfZTV-vlisDUIie_iK_B2HqKia_querT6m6T2_vbAk0/edit -->
2222

23-
### Release Channels (e.g. Experimental, Stable)
24-
Gateway API provides 2 release channels: an Experimental one and a Stable one.
23+
### Release Channels (e.g. Experimental, Standard)
24+
Gateway API provides 2 release channels: an Experimental one and a Standard one.
2525

26-
The Stable release channel includes:
26+
The Standard release channel includes:
2727

2828
* Resources that have graduated to beta
29-
* All fields that have graduated to stable and are no longer considered
29+
* All fields that have graduated to standard and are no longer considered
3030
experimental
3131

32-
The Experimental release channel includes everything in the Stable release
32+
The Experimental release channel includes everything in the Standard release
3333
channel, plus:
3434

3535
* Alpha API resources
3636
* New fields that are considered experimental and have not yet graduated to the
37-
stable channel
37+
standard channel
3838

3939
![Release Channel Overlap](/images/release-channel-overlap.png)
4040
<!-- Source: https://docs.google.com/presentation/d/1sfZTV-vlisDUIie_iK_B2HqKia_querT6m6T2_vbAk0/edit -->
@@ -49,7 +49,7 @@ Unfortunately, CRDs do not have a similar concept yet.
4949
Instead of trying to recreate feature gates in this project, we've introduced
5050
release channels. Starting in v0.5.0, all new fields and features will start in
5151
the Experimental release channel. From that point, these may graduate to the
52-
Stable release channel or be dropped from the API entirely. See
52+
Standard release channel or be dropped from the API entirely. See
5353
[GEP-922](/geps/gep-922) for a more detailed discussion of this approach to new
5454
fields and features.
5555

@@ -62,7 +62,7 @@ and channel:
6262

6363
```
6464
gateway.networking.k8s.io/bundle-version: v0.4.0
65-
gateway.networking.k8s.io/channel: stable|experimental
65+
gateway.networking.k8s.io/channel: standard|experimental
6666
```
6767

6868
## What can Change
@@ -81,7 +81,7 @@ change across API versions.
8181
* Making required fields optional
8282
* Removal of experimental fields
8383
* Removal of experimental resources
84-
* Graduation of fields or resources from experimental to stable track
84+
* Graduation of fields or resources from experimental to standard track
8585
* Introduction of a new **API version**, which may also include:
8686
* Renamed fields
8787
* Anything else that is valid in a new Kubernetes API version
@@ -118,18 +118,18 @@ A resource to graduate from beta to GA must meet the following criteria:
118118

119119
### Fields
120120

121-
#### Experimental -> Stable
121+
#### Experimental -> Standard
122122
As described above, field level stability is layered on top of beta and GA
123-
resources (no fields in alpha resources can be considered stable). The
124-
requirements for a field to graduate from experimental to stable depend on the
123+
resources (no fields in alpha resources can be considered standard). The
124+
requirements for a field to graduate from experimental to standard depend on the
125125
API version of the resource it is a part of. For a field to be considered
126-
stable, it needs to meet the same criteria of the resource it is contained in.
126+
standard, it needs to meet the same criteria of the resource it is contained in.
127127

128128
If a resource has graduated to beta, an experimental field must meet all of the
129-
beta graduation criteria before graduating to stable. Similarly, if a resource
129+
beta graduation criteria before graduating to standard. Similarly, if a resource
130130
has graduated to GA, a field must meet all of the beta and GA graduation
131131
criteria. There is one slight variation here, instead of 6 months of soak time
132-
as a beta API, a field graduating to stable requires 6 months of soak time as an
132+
as a beta API, a field graduating to standard requires 6 months of soak time as an
133133
experimental field.
134134

135135
## Out of Scope

site-src/geps/gep-820.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ not well understood.
2020
## Introduction
2121

2222
As the API moves towards `v1alpha2`, the maintainers intend to make the API
23-
stable and forward compatible for the foreseeable future. To that end,
23+
standard and forward compatible for the foreseeable future. To that end,
2424
maintainers intend to minimize (eliminate if possible) breaking changes post
2525
`v1alpha2`. This GEP is part of that initiative.
2626

0 commit comments

Comments
 (0)