Skip to content

Commit 84d48e5

Browse files
committed
Run pre-commit on all files
1 parent 011e81f commit 84d48e5

File tree

28 files changed

+82
-82
lines changed

28 files changed

+82
-82
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A clear and concise description of what you expected to happen.
2525
* Kubernetes platform (e.g. Mini-kube or GCP)
2626
* Details on how you expose the NGINX Gateway Pod (e.g. Service of type LoadBalancer or port-forward)
2727
* Logs of NGINX container: `kubectl -n nginx-gateway logs -l app=nginx-gateway -c nginx`
28-
* NGINX Configuration: `kubectl -n nginx-gateway exec <gateway-pod> -c nginx -- nginx -T`
28+
* NGINX Configuration: `kubectl -n nginx-gateway exec <gateway-pod> -c nginx -- nginx -T`
2929

3030
**Additional context**
31-
Add any other context about the problem here. Any log files you want to share.
31+
Add any other context about the problem here. Any log files you want to share.

.github/ISSUE_TEMPLATE/enhancement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
name: Enhancement Request
3-
about: Suggest an enhancement for this project
2+
name: Enhancement Request
3+
about: Suggest an enhancement for this project
44
labels: 'enhancement'
55
---
66

77
<!--
8-
WARNING: Prior to submitting an enhancement request, we ask that you create a discussion. If you have not yet
8+
WARNING: Prior to submitting an enhancement request, we ask that you create a discussion. If you have not yet
99
created a discussion related to your request, please do so now: https://github.com/nginxinc/nginx-kubernetes-gateway/discussions/new?category=ideas
1010
-->
1111

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
name: Gateway Conformance Tests
152152
runs-on: ubuntu-22.04
153153
needs: vars
154-
if: ${{ github.ref_type != 'tag' }}
154+
if: ${{ github.ref_type != 'tag' }}
155155
steps:
156156
- name: Checkout Repository
157157
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
@@ -163,7 +163,7 @@ jobs:
163163

164164
- name: Docker Buildx
165165
uses: docker/setup-buildx-action@4c0219f9ac95b02789c1075625400b2acbff50b1 # v2.9.1
166-
166+
167167
- name: Docker meta
168168
id: meta
169169
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0
@@ -182,7 +182,7 @@ jobs:
182182
nkg_tag=$(echo ${{ steps.meta.outputs.tags }} | cut -d ":" -f 2)
183183
make update-nkg-manifest NKG_PREFIX=${nkg_prefix} NKG_TAG=${nkg_tag}
184184
working-directory: ./conformance
185-
185+
186186
- name: Build binary
187187
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0
188188
with:
@@ -202,7 +202,7 @@ jobs:
202202
cache-from: type=gha
203203
cache-to: type=gha,mode=max
204204
pull: true
205-
205+
206206
- name: Build Test Docker Image
207207
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
208208
with:

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ DEPENDENCIES:
118118

119119
COMPATIBILITY:
120120
- The Gateway API version: `0.5.1`
121-
- NGINX version: `1.21.x` *
121+
- NGINX version: `1.21.x` *
122122
- Kubernetes version: `1.21+`
123123

124124
\*the installation manifests use the `nginx:1.21` image, which always points to the latest version of 1.21.x releases.
@@ -146,7 +146,7 @@ If you'd like to give us feedback or get involved, see the [README](https://gith
146146

147147
COMPATIBILITY:
148148
- The Gateway API version: `0.5.0`
149-
- NGINX version: `1.21.3`
149+
- NGINX version: `1.21.3`
150150
- Kubernetes version: `1.19+`
151151

152152
CONTAINER IMAGES:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Before beginning development, familiarize yourself with the following documents:
9090
- [Pull Request Guidelines](/docs/developer/pull-request.md): A guide for both pull request submitters and reviewers,
9191
outlining guidelines and best practices to ensure smooth and efficient pull request processes.
9292
- [Go Style Guide](/docs/developer/go-style-guide.md): A coding style guide for Go. Contains best practices and
93-
conventions to follow when writing Go code for the project.
93+
conventions to follow when writing Go code for the project.
9494
- [Architecture](/docs/architecture.md): A high-level overview of the project's architecture.
9595
- [Design Principles](/docs/developer/design-principles.md): An overview of the project's design principles.
9696

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For a list of supported Gateway API resources and features, see the [Gateway API
99
> Warning: This project is actively in development (beta feature state) and should not be deployed in a production environment.
1010
> All APIs, SDKs, designs, and packages are subject to change.
1111
12-
Learn about our [design principles](/docs/developer/design-principles.md) and [architecture](/docs/architecture.md).
12+
Learn about our [design principles](/docs/developer/design-principles.md) and [architecture](/docs/architecture.md).
1313

1414
## Getting Started
1515

conformance/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ load-images: preload-nginx-container ## Load NKG and NGINX containers on configu
4343
.PHONY: prepare-nkg-dependencies
4444
prepare-nkg-dependencies: ## Install NKG dependencies on configured kind cluster
4545
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.7.1/standard-install.yaml
46-
kubectl wait --for=condition=available --timeout=60s deployment gateway-api-admission-server -n gateway-system
46+
kubectl wait --for=condition=available --timeout=60s deployment gateway-api-admission-server -n gateway-system
4747
kubectl apply -f ../deploy/manifests/namespace.yaml
4848
kubectl create configmap njs-modules --from-file=../internal/mode/static/nginx/modules/src/httpmatches.js -n nginx-gateway
4949
kubectl apply -f ../deploy/manifests/nginx-conf.yaml

conformance/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ make install-nkg-local-build
6565
```makefile
6666
make install-nkg-local-no-build
6767
```
68-
**Note:** You can optionally skip the actual *build* step. However, if choosing
68+
**Note:** You can optionally skip the actual *build* step. However, if choosing
6969
this option, the following step *must* be completed manually *before* the build step:
7070
* Set NKG_PREFIX=<nkg_repo_name> NKG_TAG=<nkg_image_tag> to preferred values.
7171
* Navigate to `deploy/manifests` and update values in `deployment.yaml` as specified in below code-block.

conformance/provisioner/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ https://github.com/nginxinc/nginx-kubernetes-gateway/issues/634). However, it ca
2020
tests, which expect a Gateway API implementation to provision an independent data plane per Gateway.
2121

2222
> Note: Provisioner uses [this manifest](/deploy/manifests/deployment.yaml) to create an NKG static mode Deployment.
23-
This manifest gets included into the NKG binary during the NKG build. To customize the Deployment, modify the manifest
23+
This manifest gets included into the NKG binary during the NKG build. To customize the Deployment, modify the manifest
2424
and **re-build** NKG.
2525

2626
How to deploy:
@@ -33,7 +33,7 @@ How to deploy:
3333
```
3434
1. Confirm the provisioner is running in nginx-gateway namespace:
3535
```shell
36-
kubectl get pods -n nginx-gateway
36+
kubectl get pods -n nginx-gateway
3737
```
3838
```console
3939
NAME READY STATUS RESTARTS AGE

deploy/manifests/service/nodeport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: nginx-gateway
55
namespace: nginx-gateway
66
spec:
7-
type: NodePort
7+
type: NodePort
88
ports: # Update the following ports to match your Gateway Listener ports
99
- port: 80
1010
targetPort: 80

0 commit comments

Comments
 (0)