odo url create
permanently expands devfile variables
#5496
Labels
kind/bug
Categorizes issue or PR as related to a bug.
/kind bug
What versions of software are you using?
odo 2.5 on macOS:
How did you run odo exactly?
odo url create --port 9443 --secure --container dev
Actual behavior
My
devfile.yaml
was completely re-written:{{liberty-version}}
, every occurrence was expanded out to be the value of that variable.3.Expected behavior
Don't do that. Ideally, leave the whole file alone, except the bit you're adding to. I can maybe manage with everything getting re-ordered, but expanding the variables makes things much harder to maintain.
Any logs, error output, etc?
No.
The text was updated successfully, but these errors were encountered: