I have some environment variables in OpenShift that reference a secret. I can add these variables in the deployment config by editing the yaml deployment file. However, is there any way to set environment variables by referencing a secret using the oc env
command?
Thanks :)
Run:
One of the examples is:
Note that
oc env
is deprecated and you should useoc set env
.