Skip to content

Commit 8e3213a

Browse files
committed
fix: pv yaml indent
1 parent 4c71b65 commit 8e3213a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -359,22 +359,22 @@ When Policy Controller is enabled in Helm, the NGINX configuration in your value
359359
```
360360

361361
Create a YAML file `pv-hostpath.yaml` with the persistent volume file content:
362-
```
362+
```yaml
363363
apiVersion: v1
364364
kind: PersistentVolume
365365
metadata:
366-
name: nginx-app-protect-shared-bundles-pv
367-
labels:
366+
name: nginx-app-protect-shared-bundles-pv
367+
labels:
368368
type: local
369369
spec:
370-
accessModes:
370+
accessModes:
371371
- ReadWriteMany
372-
capacity:
372+
capacity:
373373
storage: "2Gi"
374-
hostPath:
374+
hostPath:
375375
path: "/mnt/nap5_bundles_pv_data"
376-
persistentVolumeReclaimPolicy: Retain
377-
storageClassName: manual
376+
persistentVolumeReclaimPolicy: Retain
377+
storageClassName: manual
378378
```
379379
Apply the `pv-hostpath.yaml` file to create the new persistent volume for policy bundles:
380380
```shell
@@ -967,22 +967,22 @@ To verify that the policy bundles are being deployed and enforced correctly:
967967
```
968968

969969
Create a YAML file `pv-hostpath.yaml` with the PV file content:
970-
```
970+
```yaml
971971
apiVersion: v1
972972
kind: PersistentVolume
973973
metadata:
974-
name: nginx-app-protect-shared-bundles-pv
975-
labels:
974+
name: nginx-app-protect-shared-bundles-pv
975+
labels:
976976
type: local
977977
spec:
978-
accessModes:
978+
accessModes:
979979
- ReadWriteMany
980-
capacity:
980+
capacity:
981981
storage: "2Gi"
982-
hostPath:
982+
hostPath:
983983
path: "/mnt/nap5_bundles_pv_data"
984-
persistentVolumeReclaimPolicy: Retain
985-
storageClassName: manual
984+
persistentVolumeReclaimPolicy: Retain
985+
storageClassName: manual
986986
```
987987
Apply the `pv-hostpath.yaml` file to create the new PV:
988988
```shell

0 commit comments

Comments
 (0)