Oc env
Jump to navigation
Jump to search
Internal
Overview
List environment variables defined by the target object:
oc env <target> --list
Example:
oc env dc/jenkins --list
Set Environment Variable Values
oc env <target> <env_var_name>=<env_var_value>
oc env dc/router ROUTER_USE_PROXY_PROTOCOL=false
Remove an Environment Variable
oc env <target> <env_var_name>-
oc env dc/router ROUTER_USE_PROXY_PROTOCOL-