We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bbad0f commit 89dfec2Copy full SHA for 89dfec2
projects/storage/toolbox/storage_download_to_pvc/templates/pod.yml.j2
@@ -10,11 +10,13 @@ spec:
10
containers:
11
- name: downloader
12
image: {{ storage_download_to_pvc_image }}
13
- command: [bash, -c, "/mnt/entrypoint/entrypoint.sh && chmod -R a+rX /storage"]
14
{% if storage_download_to_pvc_run_as_root %}
+ command: [bash, -c, "/mnt/entrypoint/entrypoint.sh && chmod -R a+rX /storage"]
15
securityContext:
16
runAsUser: 0
17
allowPrivilegeEscalation: true
18
+{% else %}
19
+ command: [bash, /mnt/entrypoint/entrypoint.sh]
20
{% endif %}
21
env:
22
- name: DOWNLOAD_SOURCE
0 commit comments