kustomize-controller icon indicating copy to clipboard operation
kustomize-controller copied to clipboard

Fail if envsubst does not find matching variables

Open raffis opened this issue 2 years ago • 0 comments

Description

Currently the envsubst replaces the the placeholders with an empty string if no matching variable is found. This can lead to very odd problems. I know you could set a default value but that doesn't really solve the problem.

Proposal

There should be a way to let the entire kustomization fail if no such variable exists. I reckon this should even be the default behavior. As far as I checked drone/envsubst doesn't really support this but maybe swap the implementation?

raffis avatar Dec 15 '21 12:12 raffis