-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
What would you like to be added (User Story)?
As a developer, I would like tools to fail if an environment variable is missing.
Detailed Description
At some places drone/envsubst gets used (for example hack/tools/bin/envsubst)
Up to now this tools silently replaces missing environment variables with an empty string.
Unfortunately this tool does not support an option to fail if an variable is not set.
I searched and found a8m/envsubst which supports failing on missing env variables.
Wasting time because missing env vars got silently replaced with empty strings is not fun.
The authors of drone/envsubst are a bit un-welcoming: They don't provide an issue tracker. This signals to me that it would be better to switch to a package which supports this feature, instead of adding this feature to drone/envsubst.
Label(s) to be applied
/kind feature
/area/code-organization