Allow the cron jobs to write in the shared volume
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
134510ba86
commit
77e023d62f
1 changed files with 4 additions and 1 deletions
|
@ -34,6 +34,8 @@ spec:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: data
|
claimName: data
|
||||||
|
securityContext:
|
||||||
|
supplementalGroups: [1001280000]
|
||||||
---
|
---
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
|
@ -67,7 +69,8 @@ spec:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: data
|
claimName: data
|
||||||
|
securityContext:
|
||||||
|
supplementalGroups: [1001280000]
|
||||||
# ---
|
# ---
|
||||||
# apiVersion: batch/v1
|
# apiVersion: batch/v1
|
||||||
# kind: CronJob
|
# kind: CronJob
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue