Set SUDO_USER env var in Koschei CronJob
This commit is contained in:
parent
26e923994a
commit
43d6ed74fd
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ spec:
|
|||
- name: "cron-{{name}}"
|
||||
image: quay.io/koschei/koschei:latest
|
||||
command: ["/bin/bash", "-euxc", "{{command}}"]
|
||||
env:
|
||||
- name: SUDO_USER
|
||||
value: "cron-{{name}}"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/koschei
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue