Skip to content

Find a replacement for drone/envsubst (not maintained anymore) #8325

@guettli

Description

@guettli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions