this is cursed
This commit is contained in:
@@ -27,7 +27,7 @@ spec:
|
||||
- |
|
||||
# 1. Fix data volume permissions
|
||||
chown -R 1000:0 /data && chmod -R 775 /data
|
||||
|
||||
|
||||
# 2. Setup writable SSH tirectory from Secret
|
||||
cp /mnt/keys/authorized_keys /working-ssh/
|
||||
chown 1000:0 /working-ssh/authorized_keys
|
||||
@@ -37,7 +37,7 @@ spec:
|
||||
mountPath: /data
|
||||
- name: ssh-keys-secret
|
||||
mountPath: /mnt/keys
|
||||
- name: ssh-working
|
||||
- name: ssh-working
|
||||
mountPath: /working-ssh
|
||||
containers:
|
||||
- name: clawdbox
|
||||
@@ -74,4 +74,5 @@ spec:
|
||||
secretName: clawdbox-ssh-keys
|
||||
defaultMode: 0600
|
||||
- name: ssh-working
|
||||
emptyDir: {}
|
||||
emptyDir: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user