Français
alta upgrade
A new revision of an installed release: the chart's current version, its values kept unless --values changes them; parts already there are kept, an agent whose files change is written again. Skipped when pinned; a lower version is refused (that is a rollback); stops when its agent files were edited by hand.
Les descriptions et les sorties sont en anglais, comme la CLI.
Usage
text
alta upgrade <chart> [--values <file>] [--yes] [--replace-edited] [--server <url>] [--timeout <s>]Arguments
| Nom | Description | |
|---|---|---|
chart | requis | The id of an installed chart. |
Options
| Nom | Type | Défaut | Description |
|---|---|---|---|
--values | string | A JSON file with the values to change; the others stay as the release has them. | |
--yes | flag | The owner's yes: run the changes planned. Without it, nothing changes. | |
--replace-edited | flag | Go on when files of its agents were edited since they were installed: they go to the archive, then this version's files are written. | |
--server | string | Défaut: http://127.0.0.1:8790 | The machine's server. Its token comes from the WORLD_TOKEN environment variable, never from an argument. |
--timeout | number | Défaut: 600 | Seconds to wait for each change. |
Codes de sortie
| Nom | Description |
|---|---|
0 | ok |
1 | problèmes trouvés |
2 | mauvais usage |
3 | pas dans cette version |
Exemples
Upgrade a release
Terminal
sh
alta upgrade morning-brief --yesParle au serveur de la machine (WORLD_TOKEN défini) : affiche le plan, puis chaque changement et les preuves.