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

Added oci example add the provisioner parameter in docs #126

Merged
merged 5 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion content/en/docs/score implementation/score-compose/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ score-compose init --project score-compose2

#### `--provisioners` | `-p`

Loads additional provisoners from a remote url. May be specified multiple times. Supports http://host/file, https://host/file, git-ssh://git@host/repo.git/file, and git-https://host/repo.git/file formats.
Loads additional provisoners from a remote url. May be specified multiple times. Supports http://host/file, https://host/file, git-ssh://git@host/repo.git/file, git-https://host/repo.git/file, and oci://[registry/][namespace/]repository[:tag|@digest] formats.

```bash
score-compose init --provisioners https://raw.githubusercontent.com/user/repo/main/example.yaml
Expand Down
8 changes: 8 additions & 0 deletions content/en/docs/score implementation/score-k8s/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ Disables the generation of the sample Score file if you already have a Score fil
score-k8s init --no-sample
```

#### `--provisioners`

Loads additional provisoners from a remote url. May be specified multiple times. Supports http://host/file, https://host/file, git-ssh://git@host/repo.git/file, git-https://host/repo.git/file, and oci://[registry/][namespace/]repository[:tag|@digest] formats.

```bash
score-k8s init --provisioners https://raw.githubusercontent.com/user/repo/main/example.yaml
```

#### `--help` | `-h`

Displays help information for `init`, providing a short description of the command along with examples and compatible flags.
Expand Down