-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
plugins/addon: perform replacements for type and controller #1059
plugins/addon: perform replacements for type and controller #1059
Conversation
- controller runs in a second phase and needs the Plugins configured on the Scaffold - fix path to the api/<version>/<resource>_type.go file for file replacement - make the addon plugin work with the 2 phase run (api then controller) by not failing if the manifest/channel file has already been generated
Welcome @johnsonj! |
a few missing imports required to make output build
Thanks @johnsonj - not sure how I missed these, but you're quite right! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: johnsonj 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 |
Noticed that it has one of the checks pending |
regenerate controller/api code with patch[1] [1] kubernetes-sigs/kubebuilder#1059
This change adds the plumbing for plugins to act on the controller and fixes the addon pattern to output a buildable controller.
changes:
the Scaffold
replacement
by not failing if the manifest/channel file has already been generated