feat(sorcerer): Add raid-data pvc and cronjobs
This commit is contained in:
@@ -71,8 +71,6 @@ spec:
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: "OnFailure"
|
||||
securityContext:
|
||||
runAsUser: 5000
|
||||
containers:
|
||||
- name: cronpod
|
||||
image: juselius/busynix:1.1
|
||||
@@ -83,6 +81,8 @@ spec:
|
||||
- |
|
||||
nix-env -iA nixpkgs.wget nixpkgs.coreutils nixpkgs.bash
|
||||
bash /scripts/download.sh
|
||||
chown -R 5000:5000 /data/hdd/data/norshelf
|
||||
chmod -R g+w /data/hdd/data/norshelf
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- name: data
|
||||
|
||||
Reference in New Issue
Block a user