sklp deploy apply
sklp deploy apply [flags] [stack]Description
Apply .sklp/<stack>/deploy.yaml to the node named by -context (required; no stack: list the choices)
Arguments
| Argument | Required | Notes |
|---|---|---|
| stack | no |
Flags
| Flag | Aliases | Type | Default | Env | Description |
|---|---|---|---|---|---|
| --space | — | string | production | — | space to deploy (named or ephemeral) |
| --repo | — | string | . | — | repository root the deploy file is relative to |
| --force | — | bool | — | — | adopt a space already deployed by a DIFFERENT stack |
| --local | — | bool | — | — | force the LOCAL socket transport even when the active context is remote |
| --context | — | string | — | — | deploy context to target (required for a remote apply: the active context is never used implicitly) |
| --server | -addr | string | — | — | remote supervisor control API (https://host:9443) |
| --token | — | string | — | — | Bearer token for --server (prefer the context/SKLP_TOKEN) |
| --token-file | — | string | — | — | file holding the Bearer token for --server |
| --ca-fingerprint | — | string | — | — | pin the server certificate sha256 for --server |
| --insecure | — | bool | — | — | skip TLS verification for --server (LAN bootstrap only) |
Technical details
Technical details
Raw command JSON
{
"path": [
"sklp",
"deploy",
"apply"
],
"slug": "deploy-apply",
"name": "apply",
"short": "Apply .sklp/<stack>/deploy.yaml to the node named by -context (required; no stack: list the choices)",
"synopsis": "sklp deploy apply [flags] [stack]",
"flags": [
{
"name": "space",
"usage": "space to deploy (named or ephemeral)",
"type": "string",
"default": "production"
},
{
"name": "repo",
"usage": "repository root the deploy file is relative to",
"type": "string",
"default": "."
},
{
"name": "force",
"usage": "adopt a space already deployed by a DIFFERENT stack",
"type": "bool"
},
{
"name": "local",
"usage": "force the LOCAL socket transport even when the active context is remote",
"type": "bool"
},
{
"name": "context",
"usage": "deploy context to target (required for a remote apply: the active context is never used implicitly)",
"type": "string"
},
{
"name": "server",
"aliases": [
"addr"
],
"usage": "remote supervisor control API (https://host:9443)",
"type": "string"
},
{
"name": "token",
"usage": "Bearer token for --server (prefer the context/SKLP_TOKEN)",
"type": "string"
},
{
"name": "token-file",
"usage": "file holding the Bearer token for --server",
"type": "string"
},
{
"name": "ca-fingerprint",
"usage": "pin the server certificate sha256 for --server",
"type": "string"
},
{
"name": "insecure",
"usage": "skip TLS verification for --server (LAN bootstrap only)",
"type": "bool"
}
],
"positionals": [
{
"name": "stack",
"required": false
}
]
}