mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-19 15:58:25 +00:00
genpolicy: support readonly emptyDir mount
Set emptyDir access based on volume mount readOnly value Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
This commit is contained in:
@@ -27,6 +27,9 @@ spec:
|
||||
volumeMounts:
|
||||
- name: host-empty-vol
|
||||
mountPath: "/host/cache"
|
||||
- name: host-empty-vol
|
||||
mountPath: "/host/cache-read-only"
|
||||
readOnly: true
|
||||
- mountPath: /tmp/results
|
||||
name: hostpath-vol
|
||||
- mountPath: /tmp/results-read-only
|
||||
|
Reference in New Issue
Block a user