Skip to content

Commit 161f688

Browse files
committed
fix: helm upgrade
1 parent 409d1cc commit 161f688

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,14 @@ When Policy Controller is enabled in Helm, the NGINX configuration in your value
523523
2. **If storage configuration is missing, upgrade with proper storage settings:**
524524
```bash
525525
helm upgrade <release-name> . --namespace <namespace> \
526+
--values /path/to/your/values.yaml \
527+
--set appprotect.policyController.enable=true \
528+
--set dockerConfigJson=$NGINX_REGISTRY_TOKEN \
529+
--set appprotect.config.nginxJWT=$JWT \
530+
--set appprotect.nginxRepo.nginxCrt=$NGINX_CERT \
531+
--set appprotect.nginxRepo.nginxKey=$NGINX_KEY \
526532
--set appprotect.storage.pvc.bundlesPvc.storageClass=manual \
527-
--set appprotect.storage.pvc.bundlesPvc.storageRequest=2Gi \
528-
--reuse-values
533+
--set appprotect.storage.pvc.bundlesPvc.storageRequest=2Gi
529534
```
530535

531536
3. **If PVC exists but shows "Pending", check PV binding:**

0 commit comments

Comments
 (0)