-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Milestone
Description
What broke? What's expected?
Before sending a request to an external plugin through STDIN, Kubebuilder doesn't populate PluginRequest.Universe
with the content of the files that were modified by plugins earlier in the chain.
For instance, if we try out the example from Phase 2 POC:
kubebuilder create api --plugins=go/v3,myexternalplugin/v2
Files modified by go/v3
won't be available in Universe
field in PluginRequest
sent to myexternalplugin/v2
.
Reproducing this issue
- Set up a basic external plugin
myexternalplugin/v1
that inspectsPluginRequest.Universe
. (example) - Initialize a new project using 2 plugins (including the one from 1.):
kubebuilder init --plugins=go/v3,myexternalplugin/v1
- Notice how the files modified by
go/v3
won't be available inPluginRequest.Universe
inmyexternalplugin
.
KubeBuilder (CLI) Version
3.9.0
PROJECT version
No response
Plugin versions
No response
Other versions
Go version: 1.19.4 linux/amd64
Extra Labels
No response
camilamacedo86
Metadata
Metadata
Assignees
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.