Skip to content

Commit b5bae16

Browse files
committed
Add config snippets
1 parent 8170f8f commit b5bae16

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

site/content/installation/integrations/app-protect-waf-v5/installation.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ volumeMounts:
162162

163163
### Enabling WAF v5
164164

165-
Start by setting `controller.appprotect.enable` to `true` in your Helm values. This will the standard App Protect WAF fetatures.
165+
Start by setting `controller.appprotect.enable` to `true` in your Helm values. This will the standard App Protect WAF features.
166166
Afterwords, set `controller.approtect.v5` to `true`.
167167
This ensures that both the `waf-enforcer` and `waf-config-mgr` containers are deployed alongside the NGINX Ingress Controller containers.
168168
These two additional containers are required when using App Protect WAF v5.
@@ -227,6 +227,51 @@ You have two options for deploying NGINX Ingress Controller:
227227
- **Deployment**. Choose this method for the flexibility to dynamically change the number of NGINX Ingress Controller replicas.
228228
- **DaemonSet**. Choose this method if you want NGINX Ingress Controller to run on all nodes or a subset of nodes.
229229

230+
231+
### Configuring `readOnlyRootFilesystem`
232+
233+
Set `controller.securityContext.readOnlyRootFilesystem` to `true`.
234+
235+
Example helm values:
236+
237+
```yaml
238+
controller:
239+
...
240+
securityContext:
241+
readOnlyRootFilesystem: true
242+
...
243+
```
244+
245+
Set `controller.appprotect.enforcer.securityContext.readOnlyRootFilesystem` to `true`.
246+
247+
Example helm values:
248+
249+
```yaml
250+
controller:
251+
...
252+
appprotect:
253+
...
254+
enforcer:
255+
securityContext:
256+
readOnlyRootFilesystem: true
257+
...
258+
```
259+
260+
Set `controller.appprotect.configManager.securityContext.readOnlyRootFilesystem` to `true`.
261+
262+
Example helm values:
263+
264+
```yaml
265+
controller:
266+
...
267+
appprotect:
268+
...
269+
configManager:
270+
securityContext:
271+
readOnlyRootFilesystem: true
272+
...
273+
```
274+
230275
---
231276

232277
### Set up role-based access control (RBAC) {#set-up-rbac}

0 commit comments

Comments
 (0)