You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately I couldn't figure out how to do this <OR ELSE> in an elegant (not too verbose) way.
This is working, but I was wondering if there's a better way to do this, it feels very cluttered:
coalesce did the trick. I think printf "%s" is not even needed. For me this is working: namespace: {{ coalesce (env "MY_SERVICE_NAMESPACE") (env "DEFAULT_NAMESPACE") "default") }}
Much nicer than what I had, thanks you very much!
Let's say we have the following:
Now, I'd like to check on another env variable for the namespace before the default fallback is used. Something like:
Unfortunately I couldn't figure out how to do this
<OR ELSE>
in an elegant (not too verbose) way.This is working, but I was wondering if there's a better way to do this, it feels very cluttered:
Any hints are appreciated!
The text was updated successfully, but these errors were encountered: