Skip to content
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

Finish goplugins (release blocker) #881

Closed
2 of 4 tasks
monopole opened this issue Mar 16, 2019 · 7 comments
Closed
2 of 4 tasks

Finish goplugins (release blocker) #881

monopole opened this issue Mar 16, 2019 · 7 comments
Assignees
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@monopole
Copy link
Contributor

monopole commented Mar 16, 2019

Per the kep we need some more work goplugins started in #760

Release blockers:

  • kustomize reads config (plugins specifically) from (a subdir of) $HOME/.config, and should honor XDG_CONFIG_HOME (see spec) as an override to this location.

  • need flag --alpha_enable_goplugin_and_accept_panic_risk and associated behavior. The help for this flag should explain the problem.

Nice to haves:

  • the existing three forms of KV generation (env, literals, files) should be expressible as pluginType:builtin.

  • the existing edit fix command, which reads a kustomize file, updates it to new behavior, and writes it out again, should be modified to convert the three existing forms to builtin plugin form.

@monopole monopole added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Mar 16, 2019
@sethpollack
Copy link
Contributor

I can open some more PR's to add the rest of this.

@monopole
Copy link
Contributor Author

Nice.

Now that you knocked off literals builtin, can you do env and files too?

And add add some tests like this : https://github.com/kubernetes-sigs/kustomize/blob/master/pkg/target/generatoroptions_test.go#L97
to cover them? In some new file (builtinplugins_test.go?)

Thanks!

@monopole monopole assigned monopole and sethpollack and unassigned monopole Mar 17, 2019
@sethpollack
Copy link
Contributor

Ok working on it, also working on kustomize edit fix

@monopole
Copy link
Contributor Author

ah thanks - i'm out :)

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 15, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jul 15, 2019
@Liujingfang1
Copy link
Contributor

The goplugin in secretGenerator is removed. Kustomize recommends to write generator plugin for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

5 participants