Skip to content

Commit

Permalink
Update references to 0.7.0 to 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kate-osborn committed Jun 20, 2023
1 parent 379401b commit 3097a2e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The following table lists the software versions NGINX Kubernetes Gateway support

| NGINX Kubernetes Gateway | Gateway API | Kubernetes | NGINX OSS |
|-|-|-|-|
| Edge | 0.7.0 | 1.21+ | 1.25.x *|
| Edge | 0.7.1 | 1.21+ | 1.25.x *|
| 0.3.0 | 0.6.2 | 1.21+ | 1.23.x *|
| 0.2.0 | 0.5.1 | 1.21+ | 1.21.x *|
| 0.1.0 | 0.5.0 | 1.19+ | 1.21.3 |
Expand Down
2 changes: 1 addition & 1 deletion cmd/gateway/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

const (
// nolint:lll
// Regex from: https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.0/apis/v1beta1/shared_types.go#L495
// Regex from: https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/apis/v1beta1/shared_types.go#L495
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
)

Expand Down
4 changes: 2 additions & 2 deletions conformance/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ prepare-nkg: ## Build and load NKG container on configured kind cluster

.PHONY: install-nkg
install-nkg: ## Install NKG with provisioner on configured kind cluster
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.7.0/standard-install.yaml
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.7.1/standard-install.yaml
kubectl wait --for=condition=available --timeout=60s deployment gateway-api-admission-server -n gateway-system
kubectl apply -f ../deploy/manifests/namespace.yaml
kubectl create configmap njs-modules --from-file=../internal/nginx/modules/src/httpmatches.js -n nginx-gateway
Expand All @@ -48,7 +48,7 @@ run-conformance-tests: update-test-kind-config ## Run conformance tests

.PHONY: uninstall-nkg
uninstall-nkg: ## Uninstall NKG on configured kind cluster
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.7.0/standard-install.yaml
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.7.1/standard-install.yaml
kubectl delete -f ../deploy/manifests/rbac.yaml
kubectl delete -f ../deploy/manifests/namespace.yaml
kubectl delete clusterrole nginx-gateway-provisioner
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This guide walks you through how to install NGINX Kubernetes Gateway on a generi
1. Install the Gateway API resources from the standard channel (the CRDs and the validating webhook):

```
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.7.0/standard-install.yaml
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.7.1/standard-install.yaml
```

1. Create the nginx-gateway Namespace:
Expand Down
4 changes: 2 additions & 2 deletions internal/state/change_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ func NewChangeProcessorImpl(cfg ChangeProcessorConfig) *ChangeProcessorImpl {

var err error
switch o := obj.(type) {
// We don't validate GatewayClass, because as of 0.7.0, the webhook doesn't validate it (it only
// We don't validate GatewayClass, because as of 0.7.1, the webhook doesn't validate it (it only
// validates an update that requires the previous version of the resource,
// which NKG cannot reliably provide - for example, after NKG restarts).
// https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.0/apis/v1beta1/validation/gatewayclass.go#L28
// https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/apis/v1beta1/validation/gatewayclass.go#L28
case *v1beta1.Gateway:
err = gwapivalidation.ValidateGateway(o).ToAggregate()
case *v1beta1.HTTPRoute:
Expand Down

0 comments on commit 3097a2e

Please sign in to comment.