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

🌱 Update controllers to use committer package #2635

Closed
5 of 20 tasks
csams opened this issue Jan 17, 2023 · 4 comments
Closed
5 of 20 tasks

🌱 Update controllers to use committer package #2635

csams opened this issue Jan 17, 2023 · 4 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@csams
Copy link
Contributor

csams commented Jan 17, 2023

Many controllers use copy+paste abstraction for common controller functions, but they aren't all consistent. The committer package encapsulates type safe spec and status patching for arbitrary resources, so controllers can delegate to it for consistency in that phase of reconciliation.

This issue captures the work to update existing controllers to use the committer package.

  • pkg/reconciler/apis/extraannotationsync/apibindingannotation_controller.go
  • pkg/reconciler/apis/permissionclaimlabel/permissionclaimlabel_controller.go
  • pkg/reconciler/apis/permissionclaimlabel/permissionclaimlabel_resource_controller.go
  • pkg/reconciler/core/logicalclusterdeletion/logicalcluster_deletion_controller.go
  • pkg/reconciler/core/shard/shard_controller.go 🌱 shard controller: use committer #2873
  • pkg/reconciler/scheduling/location/location_controller.go
  • pkg/reconciler/scheduling/placement/placement_controller.go
  • pkg/reconciler/tenancy/bootstrap/bootstrap_controller.go
  • pkg/reconciler/tenancy/logicalcluster/logicalcluster_controller.go
  • pkg/reconciler/tenancy/workspacetype/clusterworkspacetype_controller.go
  • pkg/reconciler/workload/apiexportcreate/apiexportcreate_controller.go
  • pkg/reconciler/workload/apiexport/workload_apiexport_controller.go
  • pkg/reconciler/workload/basecontroller/controller.go 🌱 Simplify heartbeat controller #2691
  • pkg/reconciler/workload/namespace/namespace_controller.go 🌱 Switch workload/namespace controller to use committer #2874
  • pkg/reconciler/workload/synctarget/synctarget_controller.go
  • pkg/syncer/resourcesync/controller.go
  • pkg/syncer/spec/spec_process.go
  • pkg/syncer/status/status_process.go
  • pkg/virtual/apiexport/controllers/apireconciler/apiexport_apireconciler_controller.go
  • pkg/virtual/syncer/controllers/apireconciler/syncer_apireconciler_controller.go
@kcp-ci-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
After a furter 30 days, they will turn rotten.
Mark the issue as fresh with /remove-lifecycle stale.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@kcp-ci-bot kcp-ci-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 16, 2024
@kcp-ci-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

@kcp-ci-bot kcp-ci-bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 16, 2024
@kcp-ci-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

@kcp-ci-bot
Copy link
Contributor

@kcp-ci-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
Status: Done
Development

No branches or pull requests

2 participants