kusion config set
Set a config item
Synopsisâ
This command sets the value of a specified kusion config item, where the config item must be registered, and the value must be in valid type.
kusion config set
Examplesâ
# Set a config item with string type value
kusion config set backends.current mysql-pre
# Set a config item with int type value
kusion config set backends.mysql-pre.configs.port 3306
# Set a config item with struct or map type value
kusion config set backends.mysql-pre.configs '{"dbName":"kusion","user":"kk","host":"127.0.0.1","port":3306}'
Optionsâ
-h, --help help for set
Options inherited from parent commandsâ
--profile string Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none")
--profile-output string Name of the file to write the profile to (default "profile.pprof")
SEE ALSOâ
- kusion config - Interact with the Kusion config