Patch environment variable in devspace file #2736
Unanswered
JeTondsLeGazon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to patch some container environment variable for all my deployments in my
devspace.yml
using the operatorreplace
.Example of deployment:
So far I have come up with this:
Unfortunately with no success. I have tried other jsonpaths:
deployments..[?(@)].helm.values.containers[0].env.name=MY_VARIABLE.value
deployments..helm.values.containers[0].env.name=MY_VARIABLE.value
..helm.values.containers[0].env.name=MY_VARIABLE.value
..env.name=MY_VARIABLE.value
They did work work either. Any idea which jsonpath yields success to modify this?
Beta Was this translation helpful? Give feedback.
All reactions