-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kubectl-envsubst #4302
Add kubectl-envsubst #4302
Conversation
A strict substitution of env-vars in Kubernetes manifests.
🤖 Beep beep! I’m a robot speaking on behalf of @ahmetb. 🤖 Thanks for submitting your kubectl plugin to Krew! In the meanwhile, here are a few tips to make your plugin manifest better:
Thanks for your patience! |
Welcome @hashmap-kz! |
A strict substitution of env-vars in Kubernetes manifests.
/approve |
/assign chriskim06 |
/assign ahmetb |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahmetb, hashmap-kz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
A strict substitution of env-vars in Kubernetes manifests.
Project link: https://github.com/hashmap-kz/kubectl-envsubst
Features available:
Tests:
Notes:
The main difference from using external tools: like envsubst, and then piping to kubectl - is we're able to 100% control the variables lists that needs to be substituted, handle all errors, use --dry-run and other options available in kubectl out of the box, implement more robust and predictable logic than substitute all available variables. And also we're able to test each part, and optimize execution flow. Options like substitute variables if and only if their names start with prefixes we want - are not available in external tools too.
Happy New Year !!!