BjornMagnussonXA | a69cd90 | 2021-04-22 23:46:10 +0200 | [diff] [blame^] | 1 | apiVersion: v1 |
2 | kind: PersistentVolume | ||||
3 | metadata: | ||||
4 | name: $POLICY_AGENT_DATA_PV_NAME | ||||
5 | annotations: | ||||
6 | pv.beta.kubernetes.io/gid: "999" | ||||
7 | labels: | ||||
8 | run: $POLICY_AGENT_APP_NAME | ||||
9 | autotest: PA | ||||
10 | spec: | ||||
11 | storageClassName: pa-standard | ||||
12 | capacity: | ||||
13 | storage: 1Mi | ||||
14 | accessModes: | ||||
15 | - ReadWriteOnce | ||||
16 | persistentVolumeReclaimPolicy: Delete | ||||
17 | hostPath: | ||||
18 | path: "/tmp/$POLICY_AGENT_PV_PATH" |