-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 builtin go-template inflator #3490
Conversation
Hi @epcim. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: epcim The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
BTW even ti build now I currently struggle with missed load. Did I missed it to add/enable it somewhere?
Well I know it was not generated into
but on the other hand it was added to https://github.com/kubernetes-sigs/kustomize/pull/3490/files#diff-e7be08f5853fe648144d9d52862dc670f1aa729cfbbda4ba183608ca4d4e0b93 UPDATE, FIXED: had to run stringer manually in the folder |
68939a5
to
77405b0
Compare
Signed-off-by: Petr Michalec <[email protected]>
there's lots going on so sorry about the slow response.
Does anyone else want this and want to hash it out in a KEP? Any plugni can do whatever, but building it in to native kustomize is the core issue here.
A KEP laying out use cases that are currently underserved seems warranted - a KEP with multiple authors/sponsors. |
Meanwhile @epcim , it's not always necessary to include that functionality as builtin plugins to get the desired behavior :) |
Thanks @aodinokov. Actually I am not using kpt nor will to use templating as part of the deployment configuration. I tend more to clean Kustomize approach. Technically I do agree with @monopole not to extend Kustomize base functionality above the original idea. Currently running it as plugin and most probably will offer alternative implementation once above mentioned KEP will land. Most probably other go-plugins will do the same. Closing as it was here long enough for comments. Obviously not much interesting for Kustomize audience. -- Regarding Templates: (what ever syntax) in my view can be used in the manner to distillate, simplify "base" manifests. That Kustomize only tune or extend for particular environment. Originally I though it could reuse existing Helm manifests without actually using Helm at all. Tahat is still possible but as helm is using imports and Regarding Kustomize plugins. For the time I use Kustomize I do adore it for easy of use and for
If I would compare Kustomize with for example Kapitan, the benefit here is the simplicity of configuration in the repo. and the fact that deployment with Kustomize avoids need for config.mgmt (for good and for bad, sure). Questionable is whether Kustomize tends more to be deployment tool (for git-ops approach) that can tune source manifests or whether it's more tool to render final manifests. Here then comes the topic what plugins it then needs. Obviously K8s deployment needs more thank just |
Signed-off-by: Petr Michalec [email protected]
Generates source from remote go-template based k8s manifests or Kustomize "base" resources.
/do-not-merge
/work-in-progress
PLEASE LET ME KNOW WHETHER THE FEATURE IS WANTED
About:
Who might want to use it: