You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return 200 "Hello! I got your URI request - $request_uri\n";
240
293
}
241
294
}
295
+
# include /etc/nginx/conf.d/*.conf;
242
296
}
243
297
244
298
## The default.conf of the ConfigMap for customizing NGINX configuration
@@ -288,6 +342,13 @@ appprotect:
288
342
targetPort: 80
289
343
## The type of service to create. NodePort will expose the service on each Node's IP at a static port.
290
344
type: NodePort
345
+
346
+
# Not needed as value will be set during helm install
347
+
# ## This is a base64-encoded string representing the contents of the Docker configuration file (config.json).
348
+
# ## This file is used by Docker to manage authentication credentials for accessing private Docker registries.
349
+
# ## By encoding the configuration file in base64, sensitive information such as usernames, passwords, and access tokens are protected from being exposed directly in plain text.
350
+
# ## You can create this base64-encoded string yourself by encoding your config.json file, or you can create the Kubernetes secret containing these credentials before deployment and not use this value directly in the values.yaml file.
351
+
# dockerConfigJson: ""
291
352
```
292
353
293
354
#### Enable/Disable the Policy Controller
@@ -349,6 +410,10 @@ When Policy Controller is enabled in Helm, the NGINX configuration in your value
**Important**: The extracted Helm chart includes a default `values.yaml` file. Ignore this file and use your custom values.yaml created from the Configuration section above.
416
+
{{< /call-out >}}
352
417
353
418
3.**Create Storage**
354
419
@@ -412,6 +477,7 @@ When Policy Controller is enabled in Helm, the NGINX configuration in your value
412
477
```bash
413
478
helm install <release-name> . \
414
479
--namespace <namespace> \
480
+
--values /path/to/your/values.yaml \
415
481
--set appprotect.policyController.enable=true \
416
482
--set dockerConfigJson=$NGINX_REGISTRY_TOKEN \
417
483
--set appprotect.config.nginxJWT=$JWT \
@@ -423,6 +489,7 @@ When Policy Controller is enabled in Helm, the NGINX configuration in your value
423
489
```bash
424
490
helm upgrade <release-name> . \
425
491
--namespace <namespace> \
492
+
--values /path/to/your/values.yaml \
426
493
--set appprotect.policyController.enable=true \
427
494
--set dockerConfigJson=$NGINX_REGISTRY_TOKEN \
428
495
--set appprotect.config.nginxJWT=$JWT \
@@ -950,6 +1017,10 @@ To verify that the policy bundles are being deployed and enforced correctly:
**Important**: The extracted Helm chart includes a default `values.yaml` file. Ignore this file and use your custom values.yaml created from the Configuration section above.
1023
+
{{< /call-out >}}
953
1024
954
1025
3. **Apply Custom Resource Definitions**
955
1026
@@ -1020,6 +1091,7 @@ To verify that the policy bundles are being deployed and enforced correctly:
0 commit comments