-
Notifications
You must be signed in to change notification settings - Fork 35
[improvement] Migrate to new kubebuilder layout for webhooks and controller code #574
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
Conversation
|
@komer3 you might want to update the gci config in the .golangci.yml to skip the webhook_suite_test.go like we do here because of the gci bug with that kubebuilder marker: https://github.com/linode/cluster-api-provider-linode/pull/172/files#diff-6179837f7df53a6f05c522b6b7bb566d484d5465d9894fb04910dd08bb40dcc9R217 |
AshleyDumaine
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Latest kubebuilder layout is putting the controller and webhook code under internal dir. With this PR, moved controller code under internal dir and also moved webhook code under internal. Made necessary updates to get it working.
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
TODOs: