1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/developer-cli-odo-setting-and-unsetting-environment-variables.adoc
2023-10-30 10:13:25 -04:00

32 lines
629 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/developer_cli_odo/managing-environment-variables-in-odo.adoc
:_mod-docs-content-type: PROCEDURE
[id="setting-and-unsetting-environment-variables._{context}"]
= Setting and unsetting environment variables
.Procedure
* To set an environment variable in a component:
+
[source,terminal]
----
$ odo config set --env <variable>=<value>
----
* To unset an environment variable in a component:
+
[source,terminal]
----
$ odo config unset --env <variable>
----
* To list all environment variables in a component:
+
[source,terminal]
----
$ odo config view
----