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
Hi @crenshaw-dev, I picked up this issue to work on and came across a Kustomize PR, which mentions that loading of the env variable when only the key is mentioned in the properties file, is a bug. It might be removed in the next major version too.
Summary
The user should be able to specify environment variables to be passed to Kustomize. Plugins enable this via the
spec.source.plugins.env
field.Motivation
Kustomize has some interesting features that rely on reading environment variables.
@jannfis pointed out on another issue that this could be useful.
Proposal
We could add a
env
field to thekustomize
source. We'd want to either blocklist certain env vars (e.g.GIT_
vars) or prefix all env vars for security.The text was updated successfully, but these errors were encountered: