shc repo
manage app repositories
Reference for the repo CLI group. Source: modules/repo/commands/.
Subcommands
Section titled “Subcommands”| Subcommand | Description |
|---|---|
add | add a repository |
ls | list repositories |
rm | remove a repository |
sync | sync repository apps |
update | update a repository |
shc repo add
Section titled “shc repo add”add a repository
| Flag | Type | Required | Help |
|---|---|---|---|
--token | str | no | authentication token for private repositories |
--priority | str | no | repository priority |
--tenant / -t | str | no | tenant scope for repository |
--environment / -e | str | no | environment scope for repository |
--sync-interval | str | no | sync interval |
Source: modules/repo/commands/
The daemon fetches and clones a repository from its own network position,
so the host a URL names is judged before the row is written, again at every
sync, at every redirect the fetch follows, and at install for the archive
URL. A host that fails the check is refused with X400967REPSSR.
A loopback, link-local (169.254.0.0/16 with the cloud metadata endpoint,
fe80::/10), multicast or unspecified address is refused for every scope,
and so is a hostname that resolves to one. A private-network host (RFC1918,
unique-local fc00::/7, which includes the cluster’s own mesh
10.64.48.0/20 and fabric 10.64.128.0/17 on the default block) is
allowed only for a
repository in the operator’s scope: the system scope, which repo add
without --tenant writes, or the master tenant. A cluster whose nodes have
only private addresses registers the catalogue it serves itself, or one on
another machine of its network, by naming a node’s own address there. A
repository in any other tenant’s scope is refused a private-network host
at add, at sync, at the redirect hop and at the archive fetch.
shc repo ls
Section titled “shc repo ls”list repositories
| Flag | Type | Required | Help |
|---|---|---|---|
--tenant / -t | str | no | filter by tenant_name scope |
-v / --verbose | bool | no | show detailed information |
Source: modules/repo/commands/
shc repo rm
Section titled “shc repo rm”remove a repository
| Flag | Type | Required | Help |
|---|---|---|---|
-y / --yes | bool | no | skip confirmation prompt |
Source: modules/repo/commands/
shc repo sync
Section titled “shc repo sync”sync repository apps
| Flag | Type | Required | Help |
|---|---|---|---|
--force / -f | bool | no | force re-sync |
Source: modules/repo/commands/
shc repo update
Section titled “shc repo update”update a repository
| Flag | Type | Required | Help |
|---|---|---|---|
--priority | str | no | repository priority |
--sync-interval | str | no | sync interval |
--token | str | no | authentication token for private repositories, empty removes it |
Source: modules/repo/commands/