Skip to content

Commit 747d58e

Browse files
dependabot[bot]lucacome
authored andcommitted
Bump sigs.k8s.io/gateway-api from 0.4.2 to 0.5.0
Bumps [sigs.k8s.io/gateway-api](https://github.com/kubernetes-sigs/gateway-api) from 0.4.2 to 0.5.0. - [Release notes](https://github.com/kubernetes-sigs/gateway-api/releases) - [Changelog](https://github.com/kubernetes-sigs/gateway-api/blob/main/CHANGELOG.md) - [Commits](kubernetes-sigs/gateway-api@v0.4.2...v0.5.0) --- updated-dependencies: - dependency-name: sigs.k8s.io/gateway-api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent d21f512 commit 747d58e

File tree

11 files changed

+55
-173
lines changed

11 files changed

+55
-173
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Before you can build and run the NGINX Kubernetes Gateway, make sure you have th
2727
```
2828

2929
1. Build the image:
30-
30+
3131
```
3232
make PREFIX=myregistry.example.com/nginx-kubernetes-gateway container
3333
```
@@ -44,7 +44,7 @@ Before you can build and run the NGINX Kubernetes Gateway, make sure you have th
4444

4545
## Deploy NGINX Kubernetes Gateway
4646

47-
You can deploy NGINX Kubernetes Gateway on an existing Kubernetes 1.16+ cluster. The following instructions walk through the steps for deploying on a [kind](https://kind.sigs.k8s.io/) cluster.
47+
You can deploy NGINX Kubernetes Gateway on an existing Kubernetes 1.16+ cluster. The following instructions walk through the steps for deploying on a [kind](https://kind.sigs.k8s.io/) cluster.
4848

4949
1. Load the NGINX Kubernetes Gateway image onto your kind cluster:
5050

@@ -57,19 +57,19 @@ You can deploy NGINX Kubernetes Gateway on an existing Kubernetes 1.16+ cluster.
5757
1. Install the Gateway CRDs:
5858

5959
```
60-
kubectl apply -k "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.4.2"
60+
kubectl apply -k "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.5.0"
6161
```
6262

6363
1. Create the nginx-gateway namespace:
64-
64+
6565
```
6666
kubectl apply -f deploy/manifests/namespace.yaml
6767
```
6868
6969
1. Create the njs-modules configmap:
7070
7171
```
72-
kubectl create configmap njs-modules --from-file=internal/nginx/modules/src/httpmatches.js -n nginx-gateway
72+
kubectl create configmap njs-modules --from-file=internal/nginx/modules/src/httpmatches.js -n nginx-gateway
7373
```
7474
7575
1. Create the GatewayClass resource:
@@ -84,7 +84,7 @@ You can deploy NGINX Kubernetes Gateway on an existing Kubernetes 1.16+ cluster.
8484
8585
```
8686
kubectl apply -f deploy/manifests/nginx-gateway.yaml
87-
```
87+
```
8888
8989
1. Confirm the NGINX Kubernetes Gateway is running in `nginx-gateway` namespace:
9090
@@ -110,7 +110,7 @@ A `NodePort` service will randomly allocate one port on every node of the cluste
110110
111111
### Create a LoadBalancer Service
112112
113-
Create a service with type `LoadBalancer` using the appropriate manifest for your cloud provider.
113+
Create a service with type `LoadBalancer` using the appropriate manifest for your cloud provider.
114114
115115
- For GCP or Azure:
116116
@@ -119,13 +119,13 @@ Create a service with type `LoadBalancer` using the appropriate manifest for you
119119
```
120120
121121
Lookup the public IP of the load balancer:
122-
122+
123123
```
124124
kubectl get svc nginx-gateway -n nginx-gateway
125-
```
126-
125+
```
126+
127127
Use the public IP of the load balancer to access NGINX Kubernetes Gateway.
128-
128+
129129
- For AWS:
130130
131131
```
@@ -136,8 +136,8 @@ Create a service with type `LoadBalancer` using the appropriate manifest for you
136136
137137
```
138138
kubectl get svc nginx-gateway -n nginx-gateway
139-
```
140-
139+
```
140+
141141
In general, you should rely on the NLB DNS name, however for testing purposes you can resolve the DNS name to get the IP address of the load balancer:
142142
143143
```

examples/https-termination/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ In this example we expand on the simple [cafe-example](../cafe-example) by addin
99
1. Follow the [installation instructions](https://github.com/nginxinc/nginx-kubernetes-gateway/blob/main/README.md#run-nginx-gateway) to deploy NGINX Gateway.
1010

1111
1. Save the public IP address of NGINX Kubernetes Gateway into a shell variable:
12-
12+
1313
```
1414
GW_IP=XXX.YYY.ZZZ.III
1515
```
1616

1717
1. Save the HTTPS port of NGINX Kubernetes Gateway:
18-
18+
1919
```
2020
GW_HTTPS_PORT=port
2121
```
2222

23-
## 2. Deploy the Cafe Application
23+
## 2. Deploy the Cafe Application
2424

2525
1. Create the coffee and the tea deployments and services:
26-
26+
2727
```
2828
kubectl apply -f cafe.yaml
2929
```
@@ -45,21 +45,21 @@ In this example we expand on the simple [cafe-example](../cafe-example) by addin
4545
```
4646

4747
The TLS certificate and key in this secret are used to terminate the TLS connections for the cafe application.
48-
**Important**: This certificate and key are for demo purposes only.
49-
48+
**Important**: This certificate and key are for demo purposes only.
49+
5050
1. Create the `Gateway` resource:
5151
```
5252
kubectl apply -f gateway.yaml
5353
```
5454

55-
This [gateway](./gateway.yaml) configures an `https` listener is to terminate TLS connections using the `cafe-secret` we created in the step 1.
55+
This [gateway](./gateway.yaml) configures an `https` listener is to terminate TLS connections using the `cafe-secret` we created in the step 1.
5656

5757
1. Create the `HTTPRoute` resources:
5858
```
5959
kubectl apply -f cafe-routes.yaml
6060
```
6161

62-
To configure HTTPS termination for our cafe application, we will bind the `https` listener to our `HTTPRoutes` in [cafe-routes.yaml](./cafe-routes.yaml) using the [`parentRef`](https://gateway-api.sigs.k8s.io/v1alpha2/references/spec/#gateway.networking.k8s.io%2fv1alpha2.ParentReference) field:
62+
To configure HTTPS termination for our cafe application, we will bind the `https` listener to our `HTTPRoutes` in [cafe-routes.yaml](./cafe-routes.yaml) using the [`parentReference`](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1beta1.ParentReference) field:
6363

6464
```yaml
6565
parentRefs:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
k8s.io/code-generator v0.24.3
1717
sigs.k8s.io/controller-runtime v0.12.3
1818
sigs.k8s.io/controller-tools v0.9.2
19-
sigs.k8s.io/gateway-api v0.4.2
19+
sigs.k8s.io/gateway-api v0.5.0
2020
)
2121

2222
require (

0 commit comments

Comments
 (0)