opencenter config set
Set a configuration value using dot notation
Synopsis
Set a configuration value using dot notation.
Examples: opencenter config set logging.level debug opencenter config set paths.clustersDir ~/my-clusters opencenter config set paths.pluginsDir ~/my-plugins opencenter config set paths.stateDir ~/.local/state/opencenter opencenter config set behavior.autoConfirm true opencenter config set behavior.validation online opencenter config set cluster_defaults.provider openstack opencenter config set cluster_defaults.gitops_auth_method token opencenter config set cluster_defaults.base_domain k8s.example.com opencenter config set cluster_defaults.kubernetes_version 1.34.3
Supported configuration sections:
-
logging.level (debug, info, warn, error)
-
logging.format (text, json, yaml)
-
logging.output (stdout, stderr, or file path)
-
logging.file.maxSize (integer, MB)
-
logging.file.maxBackups (integer)
-
logging.file.maxAge (integer, days)
-
logging.file.compress (boolean)
-
paths.configDir (string)
-
paths.clustersDir (string)
-
paths.pluginsDir (string)
-
paths.stateDir (string)
-
behavior.autoConfirm (boolean)
-
behavior.dryRun (boolean)
-
behavior.validation (string: offline, online)
-
cluster_defaults.provider (string)
-
cluster_defaults.region (string)
-
cluster_defaults.environment (string)
-
cluster_defaults.gitops_auth_method (string: ssh, token)
-
cluster_defaults.base_domain (string)
-
cluster_defaults.admin_email (string)
-
cluster_defaults.kubernetes_version (string)
-
cluster_defaults.cni (string: calico, cilium, kube-ovn)
-
cluster_defaults.ssh_user (string)
opencenter config set <key> <value> [flags]