f91be1fc by Adam Heath

Fix name of cluster-ssh secret.

1 parent 0169e3e6
...@@ -8,7 +8,7 @@ data: ...@@ -8,7 +8,7 @@ data:
8 clone-start-of-day: | 8 clone-start-of-day: |
9 #!/bin/sh 9 #!/bin/sh
10 set -ex 10 set -ex
11 GIT_SSH_COMMAND="ssh -i /tmp/cluster-ssh-key/ssh-private-key" 11 GIT_SSH_COMMAND="ssh -i /tmp/cluster-ssh/ssh-private-key"
12 --- 12 ---
13 apiVersion: batch/v1 13 apiVersion: batch/v1
14 kind: Job 14 kind: Job
...@@ -35,9 +35,9 @@ spec: ...@@ -35,9 +35,9 @@ spec:
35 defaultMode: 0755 35 defaultMode: 0755
36 - name: git-storage 36 - name: git-storage
37 emptyDir: {} 37 emptyDir: {}
38 - name: cluster-ssh-key 38 - name: cluster-ssh
39 secret: 39 secret:
40 secretName: cluster-ssh-key 40 secretName: cluster-ssh
41 defaultMode: 0600 41 defaultMode: 0600
42 42
43 initContainers: 43 initContainers:
...@@ -46,8 +46,8 @@ spec: ...@@ -46,8 +46,8 @@ spec:
46 volumeMounts: 46 volumeMounts:
47 - name: k8s-bootstrap 47 - name: k8s-bootstrap
48 mountPath: /tmp/k8s-bootstrap 48 mountPath: /tmp/k8s-bootstrap
49 - name: cluster-ssh-key 49 - name: cluster-ssh
50 mountPath: /tmp/cluster-ssh-key 50 mountPath: /tmp/cluster-ssh
51 - name: git-storage 51 - name: git-storage
52 mountPath: /tmp/git-storage 52 mountPath: /tmp/git-storage
53 command: ["/tmp/k8s-bootstrap/clone-start-of-day"] 53 command: ["/tmp/k8s-bootstrap/clone-start-of-day"]
......