Skip to content

Commit

Permalink
Added oci example add the provisioner parameter in docs
Browse files Browse the repository at this point in the history
Signed-off-by: 7h3-3mp7y-m4n <[email protected]>
  • Loading branch information
7h3-3mp7y-m4n committed Oct 19, 2024
1 parent ff7f356 commit 6d69641
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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

0 comments on commit 6d69641

Please sign in to comment.