Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions modules/nodes-pods-image-volume-adding.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ spec:
- name: image-volume-container
command: ["sleep", "infinity"]
image: debian
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- name: image
mountPath: /image
Expand All @@ -33,6 +40,13 @@ spec:
args:
- -c
- trap 'exit 0' TERM INT; sleep infinity & wait
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- name: artifact
mountPath: /artifact
Expand Down