Compare commits
2 Commits
20bf6afee4
...
8427663d71
| Author | SHA1 | Date | |
|---|---|---|---|
| 8427663d71 | |||
| 22472c633d |
@@ -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
|
||||
@@ -76,9 +76,7 @@ spec:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
fsGroup: 1000
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop: ["ALL"]
|
||||
allowPrivilegeEscalation: true
|
||||
volumes:
|
||||
- name: data-volume
|
||||
persistentVolumeClaim:
|
||||
@@ -88,4 +86,4 @@ spec:
|
||||
secretName: clawdbox-ssh-keys
|
||||
defaultMode: 0600
|
||||
- name: ssh-working
|
||||
emptyDir: {}
|
||||
emptyDir: {}
|
||||
|
||||
Reference in New Issue
Block a user