Skip to content

Commit d6ce67d

Browse files
committed
Use another include
1 parent fd55b91 commit d6ce67d

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

content/nginx-one/k8s/add-ngf-helm.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -30,34 +30,7 @@ You also need:
3030

3131
### Create a Kubernetes secret with the data plane key
3232

33-
To create a Kubernetes secret, you'll need:
34-
35-
- The Data Plane Key
36-
- To set up the secret in the same namespace as NGINX Gateway Fabric
37-
- Use the name `dataplane.key` as shown
38-
39-
To create a Kubernetes secret, you'll need:
40-
41-
- The Data Plane Key
42-
- The `nginx-gateway` namespace must exist. You can create it with the following command: `kubectl create namespace nginx-gateway`
43-
44-
- Then create the secret with the following command. The key must be named `dataplane.key`:
45-
46-
```shell
47-
kubectl create secret generic dataplane-key \
48-
--from-literal=dataplane.key=<Your Dataplane Key> \
49-
-n nginx-gateway
50-
```
51-
- You can create it with the following command: `kubectl create namespace nginx-gateway`
52-
53-
Once you have that information, run the following command:
54-
55-
56-
```shell
57-
kubectl create secret generic dataplane-key \
58-
--from-literal=dataplane.key=<Your Dataplane Key> \
59-
-n <namespace>
60-
```
33+
{{< include "/nginx-one/how-to/k8s-secret-dp-key.md" >}}
6134

6235
## Install Gateway API resources
6336
<!-- Corresponds to step 2 in the UX -->

content/nginx-one/k8s/add-ngf-manifests.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Log in to NGINX One Console. If you need more information, review our [Get start
2828

2929
{{< include "/nginx-one/how-to/k8s-secret-dp-key.md" >}}
3030

31-
3231
## Install Gateway API resources
3332
<!-- Corresponds to step 2 in the UX -->
3433
{{< include "/ngf/installation/install-gateway-api-resources.md" >}}

0 commit comments

Comments
 (0)