Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gitrepositories.md #1253

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/spec/v1/gitrepositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Git repository.
**Note:** Unlike using `git`, the
[shorter scp-like syntax](https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols#_the_ssh_protocol)
is not supported for SSH addresses (e.g. `[email protected]:repository.git`).
Instead, the valid URL format is `ssh://[email protected]:22/repository.git`.
Instead, the valid URL format is `ssh://[email protected]/repository.git` (only 1 `:` allowed).
lboix marked this conversation as resolved.
Show resolved Hide resolved

### Secret reference

Expand Down Expand Up @@ -195,6 +195,8 @@ stringData:
-----BEGIN OPENSSH PRIVATE KEY-----
...
-----END OPENSSH PRIVATE KEY-----
#github.com usage example : copy-paste below the correct line (github.com ecdsa-sha2-nistp256...) of this command output: ssh-keyscan github.com
#if your repo is elsewhere : replace github.com with the right host
lboix marked this conversation as resolved.
Show resolved Hide resolved
known_hosts: |
github.com ecdsa-sha2-nistp256 AAAA...
```
Expand Down