Kustomize with envsubst
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Description
Describe the Feature You Want
Hey ! thank you for this magical tool, it helps me a lot 🥰
Something is not that great with my workflow including kustomize and envsubst.
For now, I'm doing it this way :
if not os.path.exists('infra/k8s/overlays/dev/kustomization.yml'): # need the if, else Tilt goes into an infinite loop
local('envsubst < infra/k8s/overlays/dev/kustomization.env.yml > infra/k8s/overlays/dev/kustomization.yml')
k8s_yaml(namespace_inject(kustomize('infra/k8s/core/overlays/local'), namespace))
Is there any better way ? something like a kustomize_with_envsubst() ?
Thanks for any input !
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported workflow paths, especially infra/k8s/overlays/dev/kustomization.env.yml and the kustomize('infra/k8s/core/overlays/local') entry point. Review how the project could support the requested envsubst-and-kustomize workflow, and define done as a supported approach that avoids the current generated-file and Tilt loop workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, shell
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100