2.12. Managing environment variables
odo stores component-specific configurations and environment variables in the config file. You can use the odo config command to set, unset, and list environment variables for components without the need to modify the config file.
2.12.1. Setting and unsetting environment variables 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Procedure
To set an environment variable in a component:
$ odo config set --env <variable>=<value>To unset an environment variable in a component:
$ odo config unset --env <variable>To list all environment variables in a component:
$ odo config view