Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions kubernetes/namespaces/nginx-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ We use NGINX Gateway Fabric to manage our ingress traffic. This replaced the pre

## Helm Installation of Gateway Fabric control plane

1. Create NGINX CRDs with `kubectl kustomize "https://github.com/nginx/nginx-gateway-fabric/config/crd/gateway-api/standard?ref=v2.5.1" | kubectl apply -f -`
2. Run `helm install ngf oci://ghcr.io/nginx/charts/nginx-gateway-fabric --create-namespace -n nginx-gateway -f values.yaml` to install NGINX Gateway Fabric using Helm.
3. Wait for the installation to complete with `kubectl wait --timeout=5m -n nginx-gateway deployment/ngf-nginx-gateway-fabric --for=condition=Available`
1. Create NGINX CRDs with `kubectl kustomize "https://github.com/nginx/nginx-gateway-fabric/config/crd/gateway-api/standard?ref=v2.6.2" | kubectl apply -f -`
2. Install NGF-specific CRDs `helm show crds oci://ghcr.io/nginx/charts/nginx-gateway-fabric --version 2.6.2 | kubectl apply --server-side -f -`
3. Install the Helm chart `helm install ngf oci://ghcr.io/nginx/charts/nginx-gateway-fabric --create-namespace -n nginx-gateway -f values.yaml`
4. Wait for the installation to complete with `kubectl wait --timeout=5m -n nginx-gateway deployment/ngf-nginx-gateway-fabric --for=condition=Available`

NOTE: To upgrade/change values, switch from `helm install` to `helm upgrade`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
snippets:
- context: http.server
value: |
ssl_client_certificate /etc/nginx/mtls-ca.crt;
ssl_client_certificate /etc/ssl/nginx/mtls-ca.crt;
ssl_verify_client optional;
ssl_verify_depth 1;
set_real_ip_from 0.0.0.0/0;
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/namespaces/nginx-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ nginx:
container:
volumeMounts:
- name: mtls-client-crt-bundle
mountPath: /etc/nginx/mtls-ca.crt
mountPath: /etc/ssl/nginx/mtls-ca.crt
subPath: ca.crt

config:
Expand Down
Loading