Fix ssh support
This commit is contained in:
parent
1317be06c9
commit
ada136ecc0
2 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ spec:
|
|||
mountPath: "/web"
|
||||
{{- if .Values.updater.ssh.enabled }}
|
||||
- name: ssh-key
|
||||
mountPath: "/ssh-key"
|
||||
mountPath: "/ssh"
|
||||
readOnly: true
|
||||
{{- end}}
|
||||
command:
|
||||
|
@ -34,7 +34,7 @@ spec:
|
|||
cd /web
|
||||
test -d .git && exit 0
|
||||
{{- if .Values.updater.ssh.enabled }}
|
||||
git clone ${GIT_URL} . --config core.sshCommand="ssh -i /ssh-key"
|
||||
git clone ${GIT_URL} . --config core.sshCommand="ssh -i /ssh/ssh-key"
|
||||
{{- else }}
|
||||
git clone ${GIT_URL} .
|
||||
{{- end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue