Skip to content

Commit 8e57fe8

Browse files
authored
Update GW API to 0.8.1 (#1093)
1 parent 16ab0ee commit 8e57fe8

File tree

11 files changed

+17
-17
lines changed

11 files changed

+17
-17
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ jobs:
225225
make create-kind-cluster KIND_KUBE_CONFIG=${kube_config}
226226
echo "KUBECONFIG=${kube_config}" >> "$GITHUB_ENV"
227227
kind load docker-image ${{ steps.ngf-meta.outputs.tags }} ${{ steps.nginx-meta.outputs.tags }}
228-
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
228+
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.1/standard-install.yaml
229229
kubectl wait --for=condition=complete job/gateway-api-admission-patch job/gateway-api-admission -n gateway-system
230230
231231
- name: Install Chart

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The following table lists the software versions NGINX Gateway Fabric supports.
6565

6666
| NGINX Gateway Fabric | Gateway API | Kubernetes | NGINX OSS |
6767
|--------------------------|-------------|------------|-----------|
68-
| Edge | 0.8.0 | 1.23+ | 1.25.2 |
68+
| Edge | 0.8.1 | 1.23+ | 1.25.2 |
6969
| 0.6.0 | 0.8.0 | 1.23+ | 1.25.2 |
7070
| 0.5.0 | 0.7.1 | 1.21+ | 1.25.x * |
7171
| 0.4.0 | 0.7.1 | 1.21+ | 1.25.x * |

cmd/gateway/validation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
const (
1515
// nolint:lll
16-
// Regex from: https://github.com/kubernetes-sigs/gateway-api/blob/v0.8.0/apis/v1beta1/shared_types.go#L551
16+
// Regex from: https://github.com/kubernetes-sigs/gateway-api/blob/v0.8.1/apis/v1beta1/shared_types.go#L551
1717
controllerNameRegex = `^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\/[A-Za-z0-9\/\-._~%!$&'()*+,;=:]+$` //nolint:lll
1818
)
1919

conformance/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
NGF_TAG = edge
22
NGF_PREFIX = nginx-gateway-fabric
33
NGINX_IMAGE_NAME = $(NGF_PREFIX)/nginx
4-
GW_API_VERSION ?= 0.8.0
4+
GW_API_VERSION ?= 0.8.1
55
GATEWAY_CLASS = nginx
66
SUPPORTED_FEATURES = HTTPRoute,HTTPRouteQueryParamMatching,HTTPRouteMethodMatching,HTTPRoutePortRedirect,HTTPRouteSchemeRedirect,GatewayClassObservedGenerationBump
77
KIND_IMAGE ?= $(shell grep -m1 'FROM kindest/node' <tests/Dockerfile | awk -F'[ ]' '{print $$2}')

conformance/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ update-ngf-manifest Update the NGF deployment manifest image names an
4444
| PREFIX | conformance-test-runner | The prefix for the conformance test image |
4545
| NGF_TAG | edge | The tag for the locally built NGF image |
4646
| NGF_PREFIX | nginx-gateway-fabric | The prefix for the locally built NGF image |
47-
| GW_API_VERSION | 0.8.0 | Tag for the Gateway API version to check out. Set to `main` to get the latest version |
47+
| GW_API_VERSION | 0.8.1 | Tag for the Gateway API version to check out. Set to `main` to get the latest version |
4848
| KIND_IMAGE | Latest kind image, as defined in the tests/Dockerfile | The kind image to use |
4949
| KIND_KUBE_CONFIG | ~/.kube/kind/config | The location of the kubeconfig |
5050
| GATEWAY_CLASS | nginx | The gateway class that should be used for the tests |

deploy/helm-chart/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This chart deploys the NGINX Gateway Fabric in your Kubernetes cluster.
1919
To install the Gateway resources from [the Gateway API repo](https://github.com/kubernetes-sigs/gateway-api), run:
2020

2121
```shell
22-
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
22+
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.1/standard-install.yaml
2323
```
2424

2525
## Installing the Chart
@@ -67,7 +67,7 @@ Gateway Fabric - [see the Technical Specifications](../../README.md#technical-sp
6767
To upgrade the Gateway resources from [the Gateway API repo](https://github.com/kubernetes-sigs/gateway-api), run:
6868

6969
```shell
70-
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
70+
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.1/standard-install.yaml
7171
```
7272

7373
### Upgrading the CRDs
@@ -126,7 +126,7 @@ running in the cluster!**
126126
To delete the Gateway resources using [the Gateway API repo](https://github.com/kubernetes-sigs/gateway-api), run:
127127

128128
```shell
129-
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
129+
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.1/standard-install.yaml
130130
```
131131

132132
## Configuration

docs/developer/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ This will build the docker images `nginx-gateway-fabric:<your-user>` and `nginx-
8787
3. Install Gateway API Resources
8888
8989
```shell
90-
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
90+
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.1/standard-install.yaml
9191
```
9292
9393
4. Install NGF using your custom image and expose NGF with a NodePort Service:

docs/installation.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ page.
3535
1. Install the Gateway API resources from the standard channel (the CRDs and the validating webhook):
3636

3737
```shell
38-
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
38+
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.1/standard-install.yaml
3939
```
4040

4141
1. Deploy the NGINX Gateway Fabric CRDs:
@@ -130,14 +130,14 @@ Create a Service with type `LoadBalancer` using the appropriate manifest for you
130130

131131
Before you upgrade, ensure the Gateway API resources are the correct version as supported by the NGINX Gateway
132132
Fabric - [see the Technical Specifications](/README.md#technical-specifications).
133-
The [release notes](https://github.com/kubernetes-sigs/gateway-api/releases/tag/v0.8.0) of the new version of the
133+
The [release notes](https://github.com/kubernetes-sigs/gateway-api/releases/tag/v0.8.1) of the new version of the
134134
Gateway API might include important upgrade-specific notes and instructions. We advise to check the release notes of
135135
all versions between the one you're using and the new one.
136136

137137
To upgrade the Gateway resources from [the Gateway API repo](https://github.com/kubernetes-sigs/gateway-api), run:
138138

139139
```shell
140-
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
140+
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.1/standard-install.yaml
141141
```
142142

143143
1. Upgrade the NGINX Gateway Fabric CRDs
@@ -182,7 +182,7 @@ To upgrade NGINX Gateway Fabric when the deployment method is Helm, please follo
182182
running in the cluster!**
183183

184184
```shell
185-
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
185+
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.1/standard-install.yaml
186186
```
187187

188188
### Uninstall NGINX Gateway Fabric using Helm

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
k8s.io/client-go v0.28.2
2121
sigs.k8s.io/controller-runtime v0.16.2
2222
sigs.k8s.io/controller-tools v0.13.0
23-
sigs.k8s.io/gateway-api v0.8.0
23+
sigs.k8s.io/gateway-api v0.8.1
2424
sigs.k8s.io/yaml v1.3.0
2525
)
2626

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ sigs.k8s.io/controller-runtime v0.16.2 h1:mwXAVuEk3EQf478PQwQ48zGOXvW27UJc8NHktQ
262262
sigs.k8s.io/controller-runtime v0.16.2/go.mod h1:vpMu3LpI5sYWtujJOa2uPK61nB5rbwlN7BAB8aSLvGU=
263263
sigs.k8s.io/controller-tools v0.13.0 h1:NfrvuZ4bxyolhDBt/rCZhDnx3M2hzlhgo5n3Iv2RykI=
264264
sigs.k8s.io/controller-tools v0.13.0/go.mod h1:5vw3En2NazbejQGCeWKRrE7q4P+CW8/klfVqP8QZkgA=
265-
sigs.k8s.io/gateway-api v0.8.0 h1:isQQ3Jx2qFP7vaA3ls0846F0Amp9Eq14P08xbSwVbQg=
266-
sigs.k8s.io/gateway-api v0.8.0/go.mod h1:okOnjPNBFbIS/Rw9kAhuIUaIkLhTKEu+ARIuXk2dgaM=
265+
sigs.k8s.io/gateway-api v0.8.1 h1:Bo4NMAQFYkQZnHXOfufbYwbPW7b3Ic5NjpbeW6EJxuU=
266+
sigs.k8s.io/gateway-api v0.8.1/go.mod h1:0PteDrsrgkRmr13nDqFWnev8tOysAVrwnvfFM55tSVg=
267267
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
268268
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
269269
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE=

internal/mode/static/state/change_processor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func NewChangeProcessorImpl(cfg ChangeProcessorConfig) *ChangeProcessorImpl {
173173
// the webhook doesn't validate them.
174174
// It only validates a GatewayClass update that requires the previous version of the resource,
175175
// which NGF cannot reliably provide - for example, after NGF restarts).
176-
// https://github.com/kubernetes-sigs/gateway-api/blob/v0.8.0/apis/v1beta1/validation/gatewayclass.go#L28
176+
// https://github.com/kubernetes-sigs/gateway-api/blob/v0.8.1/apis/v1beta1/validation/gatewayclass.go#L28
177177
case *v1beta1.Gateway:
178178
err = gwapivalidation.ValidateGateway(o).ToAggregate()
179179
case *v1beta1.HTTPRoute:

0 commit comments

Comments
 (0)