canasta gitops add
From Canasta Wiki
canasta gitops add
Add configuration changes to git
Synopsis
Stage one or more files for the next gitops push. Each path is relative to the instance root. At least one file is required.
Staging config/wikis.yaml captures its literal edits (e.g. a wiki display name) into wikis.yaml.template rather than the rendered file, so they survive the next render and reach other hosts.
canasta gitops add [flags]
Examples
canasta gitops add config/wikis.yaml
canasta gitops add extensions/WikiWorks/LocalSettings.php config/default.vcl
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--files |
File path(s) to stage (relative to instance root) | ✓ | Both | ||
--id |
-i |
Canasta instance ID | * | Both |
* Defaults to the Canasta instance matching the current directory, if any.
Global flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |