f91be1fc by Adam Heath

Fix name of cluster-ssh secret.

1 parent 0169e3e6
......@@ -8,7 +8,7 @@ data:
clone-start-of-day: |
#!/bin/sh
set -ex
GIT_SSH_COMMAND="ssh -i /tmp/cluster-ssh-key/ssh-private-key"
GIT_SSH_COMMAND="ssh -i /tmp/cluster-ssh/ssh-private-key"
---
apiVersion: batch/v1
kind: Job
......@@ -35,9 +35,9 @@ spec:
defaultMode: 0755
- name: git-storage
emptyDir: {}
- name: cluster-ssh-key
- name: cluster-ssh
secret:
secretName: cluster-ssh-key
secretName: cluster-ssh
defaultMode: 0600
initContainers:
......@@ -46,8 +46,8 @@ spec:
volumeMounts:
- name: k8s-bootstrap
mountPath: /tmp/k8s-bootstrap
- name: cluster-ssh-key
mountPath: /tmp/cluster-ssh-key
- name: cluster-ssh
mountPath: /tmp/cluster-ssh
- name: git-storage
mountPath: /tmp/git-storage
command: ["/tmp/k8s-bootstrap/clone-start-of-day"]
......