-
Hi all I'm looking to use the -no-unset flag that envsubst supports at https://github.com/a8m/envsubst#imposing-restrictions Is this possible, something like? yq '(.. | select(tag == "!!str")) |= envsubst -no-unset' configFile.yaml I've tried --no-unset, -no-unset and no-unset after the envsubst but its not happy with any of these. Just checking if I'm invoking wrong or this is something that's not supported. I'm playing with files that use environment variables and it would be handy to use this feature since its a nifty enhancement over what's available via the standard command line |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Nah its not yet supported - moving this to an issue to track |
Beta Was this translation helpful? Give feedback.
-
I think it's possible now, via yq '(.. | select(tag == "!!str")) |= envsubst(nu) configFile.yaml |
Beta Was this translation helpful? Give feedback.
I think it's possible now, via
yq '(.. | select(tag == "!!str")) |= envsubst(nu) configFile.yaml