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 2 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
6 changes: 4 additions & 2 deletions docs/spec/v1/gitrepositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ 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`.
is not supported for SSH addresses (e.g. gitlab.com will give you this pattern when you clone a project `ssh://git@gitlab.com:root_group/a_group/your_repo.git`).
lboix marked this conversation as resolved.
Show resolved Hide resolved
In that case, the valid URL format is `ssh://git@gitlab.com/root_group/a_group/your_repo.git`.

### Secret reference

Expand Down Expand Up @@ -195,6 +195,8 @@ stringData:
-----BEGIN OPENSSH PRIVATE KEY-----
...
-----END OPENSSH PRIVATE KEY-----
#github.com usage example : base64 below the correct line (github.com ecdsa-sha2-nistp256) of this command output: ssh-keyscan github.com
#gitlab.com usage example : base64 below the correct line (gitlab.com ecdsa-sha2-nistp256) of this command output: ssh-keyscan gitlab.com
lboix marked this conversation as resolved.
Show resolved Hide resolved
known_hosts: |
github.com ecdsa-sha2-nistp256 AAAA...
```
Expand Down