e5be6c98 by Adam Heath

Another permission fix attempt.

1 parent 527b3584
...@@ -20,7 +20,6 @@ data: ...@@ -20,7 +20,6 @@ data:
20 clone-start-of-day: | 20 clone-start-of-day: |
21 #!/bin/sh 21 #!/bin/sh
22 set -ex 22 set -ex
23 chmod 600 $HOME/.ssh/config
24 # FIXME: don't hard-code this. 23 # FIXME: don't hard-code this.
25 ls -alR $HOME 24 ls -alR $HOME
26 git clone git@gitlab.brainfood.com:brainfood/k8s-start-of-day.git /tmp/git-storage/k8s-start-of-day 25 git clone git@gitlab.brainfood.com:brainfood/k8s-start-of-day.git /tmp/git-storage/k8s-start-of-day
...@@ -74,6 +73,7 @@ spec: ...@@ -74,6 +73,7 @@ spec:
74 - name: cluster-ssh 73 - name: cluster-ssh
75 mountPath: /tmp/cluster-home/.ssh/config 74 mountPath: /tmp/cluster-home/.ssh/config
76 subPath: SSH_CONFIG 75 subPath: SSH_CONFIG
76 mode: 600
77 - name: git-storage 77 - name: git-storage
78 mountPath: /tmp/git-storage 78 mountPath: /tmp/git-storage
79 command: ["/tmp/k8s-bootstrap-scripts/clone-start-of-day"] 79 command: ["/tmp/k8s-bootstrap-scripts/clone-start-of-day"]
......