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

Optimize project layouts by moving controllers to pkg folder #21

Merged
merged 3 commits into from
Jul 13, 2024

Conversation

Jeffwan
Copy link
Collaborator

@Jeffwan Jeffwan commented Jul 12, 2024

Address #16 #19

We should exactly follow kubebuilder's layout. Moving internal/controllers under pkg

@Jeffwan Jeffwan force-pushed the jiaixn/optimize-project-layout branch from 29eeec3 to 730898b Compare July 12, 2024 21:22
@Jeffwan Jeffwan requested a review from varungup90 July 12, 2024 21:24
@@ -118,15 +118,15 @@ func main() {
// LeaderElectionReleaseOnCancel: true,
})
if err != nil {
setupLog.Error(err, "unable to start manager")
setupLog.Error(err, "unable to create manager")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@varungup90 address the PR review from last round

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need this change (folder structure) for the coming ones. I will merge it now. Feel free to leave comments if anything doesn't look good to you. I will address them later

@Jeffwan Jeffwan merged commit 757973d into main Jul 13, 2024
@Jeffwan Jeffwan deleted the jiaixn/optimize-project-layout branch July 13, 2024 02:03
gangmuk pushed a commit that referenced this pull request Jan 25, 2025
* Move internal/controllers under pkg/

* Update controller path to pkg in utils tools

* Address feedback from last PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant