osmo config update#

Update a configuration

osmo config update [-h] config_type [name] [--file FILE] [--description DESCRIPTION] [--tags TAGS [TAGS ...]]

Available config types (CONFIG_TYPE): BACKEND, BACKEND_TEST, DATASET, POD_TEMPLATE, POOL, RESOURCE_VALIDATION, ROLE, SERVICE, WORKFLOW

Ex. osmo config update SERVICE
Ex. osmo config update POOL my-pool --description "Updated pool settings" --tags production high-priority
Ex. osmo config update BACKEND my-backend --file config.json

Positional Arguments#

config_type

Config type to update (CONFIG_TYPE)

name

Optional name of the config to update

Named Arguments#

--file, -f

Path to a JSON file containing the updated config

--description, -d

Description of the config update

--tags, -t

Tags for the config update

Examples#

Update a service configuration:

$ osmo config show SERVICE cli_config latest_version
Key              Value
=========================
latest_version   6.0.0

$ osmo config update SERVICE
Successfully updated SERVICE config

$ osmo config show SERVICE cli_config latest_version
Key              Value
=========================
latest_version   6.0.1

Update a backend configuration from a file:

$ osmo config update BACKEND my-backend --file config.json
Successfully updated BACKEND config

Update with description and tags:

$ osmo config update POOL my-pool --description "Updated pool settings" --tags production high-priority
Successfully updated POOL config