diff --git a/README.md b/README.md index 122d5a3b2..72b44acee 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The following table lists the software versions NGINX Kubernetes Gateway support | NGINX Kubernetes Gateway | Gateway API | Kubernetes | NGINX OSS | |-|-|-|-| -| Edge | 0.6.0 | 1.21+ | 1.21.x *| +| Edge | 0.6.2 | 1.21+ | 1.21.x *| | 0.2.0 | 0.5.1 | 1.21+ | 1.21.x *| | 0.1.0 | 0.5.0 | 1.19+ | 1.21.3 | diff --git a/cmd/gateway/setup.go b/cmd/gateway/setup.go index ab9420db7..a7b553c26 100644 --- a/cmd/gateway/setup.go +++ b/cmd/gateway/setup.go @@ -17,7 +17,7 @@ import ( const ( errTmpl = "failed validation - flag: '--%s' reason: '%s'\n" // nolint:lll - // Regex from: https://github.com/kubernetes-sigs/gateway-api/blob/e9e04e498c566021c9d30ce4dbe0863894c7d7e1/apis/v1beta1/shared_types.go#L494 + // Regex from: https://github.com/kubernetes-sigs/gateway-api/blob/v0.6.2/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 ) diff --git a/docs/installation.md b/docs/installation.md index c156155c7..888ceb949 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -20,7 +20,7 @@ This guide walks you through how to install NGINX Kubernetes Gateway on a generi 1. Install the Gateway CRDs: ``` - kubectl apply -k "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.6.0" + kubectl apply -k "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.6.2" ``` 1. Create the nginx-gateway Namespace: diff --git a/go.mod b/go.mod index 49342b785..5f8857d8f 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( k8s.io/apimachinery v0.26.3 k8s.io/client-go v0.26.3 sigs.k8s.io/controller-runtime v0.14.5 - sigs.k8s.io/gateway-api v0.6.0 + sigs.k8s.io/gateway-api v0.6.2 ) require ( diff --git a/go.sum b/go.sum index 5dc0e33d5..e38fed6c4 100644 --- a/go.sum +++ b/go.sum @@ -647,8 +647,8 @@ rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/controller-runtime v0.14.5 h1:6xaWFqzT5KuAQ9ufgUaj1G/+C4Y1GRkhrxl+BJ9i+5s= sigs.k8s.io/controller-runtime v0.14.5/go.mod h1:WqIdsAY6JBsjfc/CqO0CORmNtoCtE4S6qbPc9s68h+0= -sigs.k8s.io/gateway-api v0.6.0 h1:v2FqrN2ROWZLrSnI2o91taHR8Sj3s+Eh3QU7gLNWIqA= -sigs.k8s.io/gateway-api v0.6.0/go.mod h1:EYJT+jlPWTeNskjV0JTki/03WX1cyAnBhwBJfYHpV/0= +sigs.k8s.io/gateway-api v0.6.2 h1:583XHiX2M2bKEA0SAdkoxL1nY73W1+/M+IAm8LJvbEA= +sigs.k8s.io/gateway-api v0.6.2/go.mod h1:EYJT+jlPWTeNskjV0JTki/03WX1cyAnBhwBJfYHpV/0= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= diff --git a/internal/manager/manager.go b/internal/manager/manager.go index 991287c8d..aa5d8f156 100644 --- a/internal/manager/manager.go +++ b/internal/manager/manager.go @@ -75,7 +75,7 @@ func Start(cfg config.Config) error { objectType: &gatewayv1beta1.GatewayClass{}, options: []controllerOption{ withNamespacedNameFilter(filter.CreateFilterForGatewayClass(cfg.GatewayClassName)), - // as of v0.6.0, the Gateway API Webhook doesn't include a validation function + // as of v0.6.2, the Gateway API Webhook doesn't include a validation function // for the GatewayClass resource }, },