Skip to content

Commit ad77103

Browse files
committed
fix: namespace
1 parent 90eba20 commit ad77103

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

content/nap-waf/v5/admin-guide/policy-lifecycle-management.md

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ http {
156156

157157
**For New Installations**: Follow the complete step-by-step process below to install NGINX App Protect WAF with Policy Lifecycle Management enabled.
158158

159-
**For Existing Customers**: If you have an existing NGINX App Protect WAF deployment without Policy Lifecycle Management, you need to upgrade your installation to enable PLM functionality. Use `helm upgrade` instead of `helm install` in step 5, and ensure you have the required CRDs and storage configured before upgrading.
159+
**For Existing Customers**: If you have an existing NGINX App Protect WAF deployment without Policy Lifecycle Management, you need to upgrade your installation to enable PLM functionality. Use `helm upgrade` instead of `helm install` in step 6, and ensure you have the required CRDs and storage configured before upgrading.
160160

161161
### Step-by-Step Installation Process
162162

@@ -214,7 +214,18 @@ http {
214214
The PV name defaults to `<release-name>-shared-bundles-pv`, but can be customized using the `appprotect.storage.pv.name` setting in your values.yaml file. Make sure to update all corresponding values for the PV and PVC to point to the correct names.
215215
{{< /call-out >}}
216216

217-
4. **Configure Docker Registry Credentials**
217+
4. **Create Namespace**
218+
219+
Create a namespace for the deployment (if you don't already have one):
220+
```bash
221+
kubectl create namespace <namespace>
222+
```
223+
224+
{{< call-out "note" >}}
225+
You can name the namespace whatever you want. If you already have an existing namespace, you can skip this step and use your existing namespace in the subsequent commands.
226+
{{< /call-out >}}
227+
228+
5. **Configure Docker Registry Credentials**
218229

219230
Create the Docker registry secret or configure in values.yaml:
220231
```bash
@@ -224,13 +235,12 @@ http {
224235
--docker-password=none
225236
```
226237

227-
5. **Deploy the Helm Chart with Policy Controller**
238+
6. **Deploy the Helm Chart with Policy Controller**
228239

229240
**For new installations:**
230241
```bash
231242
helm install <release-name> . \
232243
--namespace <namespace> \
233-
--create-namespace \
234244
--set appprotect.policyController.enable=true \
235245
--set dockerConfigJson=$NGINX_REGISTRY_TOKEN \
236246
--set appprotect.config.nginxJWT=$JWT \
@@ -249,7 +259,7 @@ http {
249259
--set appprotect.nginxRepo.nginxKey=$NGINX_KEY
250260
```
251261

252-
6. **Verify Installation**
262+
7. **Verify Installation**
253263

254264
Check that all components are deployed successfully:
255265
```bash
@@ -532,7 +542,18 @@ To verify that the policy bundles are being deployed and enforced correctly:
532542
The PV name defaults to `<release-name>-shared-bundles-pv`, but can be customized using the `appprotect.storage.pv.name` setting in your values.yaml file.
533543
{{< /call-out >}}
534544

535-
5. **Configure Docker Registry Credentials**
545+
5. **Create Namespace**
546+
547+
Create a namespace for the deployment (if you don't already have one):
548+
```bash
549+
kubectl create namespace <namespace>
550+
```
551+
552+
{{< call-out "note" >}}
553+
You can name the namespace whatever you want. If you already have an existing namespace, you can skip this step and use your existing namespace in the subsequent commands.
554+
{{< /call-out >}}
555+
556+
6. **Configure Docker Registry Credentials**
536557

537558
Create the Docker registry secret or configure in values.yaml:
538559
```bash
@@ -542,7 +563,7 @@ To verify that the policy bundles are being deployed and enforced correctly:
542563
--docker-password=none
543564
```
544565

545-
6. **Upgrade the Helm Chart with Policy Controller**
566+
7. **Upgrade the Helm Chart with Policy Controller**
546567

547568
Upgrade the chart with Policy Controller enabled:
548569
```bash
@@ -555,7 +576,7 @@ To verify that the policy bundles are being deployed and enforced correctly:
555576
--set appprotect.nginxRepo.nginxKey=$NGINX_KEY
556577
```
557578

558-
7. **Verify Upgrade**
579+
8. **Verify Upgrade**
559580

560581
Check that all components are deployed successfully:
561582
```bash

0 commit comments

Comments
 (0)