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

feat(main): using deploy #34

Merged
merged 1 commit into from
Oct 10, 2024
Merged

feat(main): using deploy #34

merged 1 commit into from
Oct 10, 2024

Conversation

cuisongliu
Copy link
Owner

This pull request includes significant changes to the internal/controller/automq_controller_c.go file, primarily focused on refactoring the controller synchronization logic from using StatefulSets to Deployments. The changes also involve some minor code cleanups.

Controller Synchronization Refactor:

  • Replaced the synchronization logic from StatefulSet to Deployment in the syncControllerDeploy function. This includes updating the resource creation and update logic, as well as the associated labels, annotations, and specifications. (internal/controller/automq_controller_c.go) [1] [2] [3] [4] [5]

Code Cleanups:

  • Removed the unnecessary import of strconv in the import section. (internal/controller/automq_controller_c.go)
  • Removed redundant code related to ClusterIP in the syncControllerService function. (internal/controller/automq_controller_c.go)

Signed-off-by: cuisongliu <[email protected]>
@cuisongliu cuisongliu merged commit 9bc2e7d into main Oct 10, 2024
6 checks passed
@cuisongliu cuisongliu deleted the using-deploy branch October 10, 2024 13:57
@github-actions github-actions bot mentioned this pull request Oct 5, 2024
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