You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's confusing that you currently /must/ run oc annotate secrets/foo 'build.openshift.io/source-secret-match-uri-1=ssh://host/path/to/file.git' (with ssh://, without user@) but then may run oc new-app user@host:path/to/file.git (without ssh://, with user@) or oc new-app ssh://user@host/path/to/file.git (with ssh://, with user@).
(note to self: saw 'Host key verification failed' error at build time after successful secret injection - may or may not have been down to host infrastructure).
I think there is problem with the ssh:// pattern. I created new secret with my private credentials (ssh) and created the new-app. Then manually add secret and everythink build correctly.
It's confusing that you currently /must/ run
oc annotate secrets/foo 'build.openshift.io/source-secret-match-uri-1=ssh://host/path/to/file.git'
(withssh://
, withoutuser@
) but then may runoc new-app user@host:path/to/file.git
(withoutssh://
, withuser@
) oroc new-app ssh://user@host/path/to/file.git
(withssh://
, withuser@
).@mvlach
The text was updated successfully, but these errors were encountered: