Allow the cron jobs to write in the shared volume

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-01-18 11:19:16 +01:00
parent 134510ba86
commit 77e023d62f
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -34,6 +34,8 @@ spec:
- name: data
persistentVolumeClaim:
claimName: data
securityContext:
supplementalGroups: [1001280000]
---
apiVersion: batch/v1
kind: CronJob
@ -67,7 +69,8 @@ spec:
- name: data
persistentVolumeClaim:
claimName: data
securityContext:
supplementalGroups: [1001280000]
# ---
# apiVersion: batch/v1
# kind: CronJob