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 all 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
3 changes: 2 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. `user@example.com:repository.git`).
Instead, the valid URL format is `ssh://user@example.com:22/repository.git`.
Instead, the valid URL format is `ssh://user@example.com/repository.git` (only 1 `:` allowed).
lboix marked this conversation as resolved.
Show resolved Hide resolved

### Secret reference

Expand Down Expand Up @@ -195,6 +195,7 @@ stringData:
-----BEGIN OPENSSH PRIVATE KEY-----
...
-----END OPENSSH PRIVATE KEY-----
# The list of public SSH host keys can be obtained by running `ssh-keyscan <host>`
known_hosts: |
github.com ecdsa-sha2-nistp256 AAAA...
```
Expand Down