add documentation for k8s operator gateway api beta (#668)

This commit is contained in:
Nicolas Frati
2026-03-24 09:09:23 +01:00
committed by GitHub
parent cedb0c0f71
commit dda8cd1b45
3 changed files with 261 additions and 3 deletions

View File

@@ -25,10 +25,14 @@ helm repo add netbirdio https://netbirdio.github.io/helms
```shell
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.17.0/cert-manager.yaml
```
3. Add NetBird API token. You can create a PAT by following the steps [here](/manage/public-api#creating-a-service-user).
3. Install the Gateway API CRDs.
```shell
kubectl apply --server-side -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.5.0/experimental-install.yaml
```
4. Add NetBird API token. You can create a PAT by following the steps [here](/manage/public-api#creating-a-service-user).
```shell
kubectl create namespace netbird
kubectl -n netbird create secret generic netbird-mgmt-api-key --from-literal=NB_API_KEY=$(cat ~/nb-pat.secret)
kubectl -n netbird create secret generic netbird-mgmt-api-key --from-literal=NB_API_KEY=nbp_iVkOxFHOpx5K3Gc7qMqwCTqBWkHRpH2KunpX
```
<Note>
Replace `~/nb-pat.secret` with your NetBird API key.