Skip to content

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.

Usage ​

text
alta upgrade <chart> [--values <file>] [--yes] [--replace-edited] [--server <url>] [--timeout <s>]

Arguments ​

NameDescription
chartrequiredThe id of an installed chart.

Options ​

NameTypeDefaultDescription
--valuesstringA JSON file with the values to change; the others stay as the release has them.
--yesflagThe owner's yes: run the changes planned. Without it, nothing changes.
--replace-editedflagGo on when files of its agents were edited since they were installed: they go to the archive, then this version's files are written.
--serverstringDefault: http://127.0.0.1:8790The machine's server. Its token comes from the WORLD_TOKEN environment variable, never from an argument.
--timeoutnumberDefault: 600Seconds to wait for each change.

Exit codes ​

NameDescription
0ok
1problems found
2bad usage
3not in this version

Examples ​

Upgrade a release

Terminal
sh
alta upgrade morning-brief --yes

Talks to the machine's server (WORLD_TOKEN set): it prints the plan, then each change and the proofs.

See also ​

Alta OS is open source (MIT).