-
Notifications
You must be signed in to change notification settings - Fork 462
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
[gardenlet] Switch BackupBucket
controller to controller-runtime
#6837
[gardenlet] Switch BackupBucket
controller to controller-runtime
#6837
Conversation
Skipping CI for Draft Pull Request. |
/test all |
BackupBucket
controller to controller-runtimeBackupBucket
controller to controller-runtime
9b387f4
to
76e8a18
Compare
|
/assign |
Now, that we have the controller-runtime manager with both caches for garden and seed cluster, we could easily set up watches for the This was also one motivation behind doing this refactoring in the first place. |
pkg/gardenlet/controller/backupbucket/backup_bucket_reconciler.go
Outdated
Show resolved
Hide resolved
pkg/gardenlet/controller/backupbucket/backup_bucket_actuator.go
Outdated
Show resolved
Hide resolved
pkg/gardenlet/controller/backupbucket/backup_bucket_actuator.go
Outdated
Show resolved
Hide resolved
@shafeeqes I would suggest that we first address the review feedback and drive it to a state where there are no further comments until you work on
|
6c512d5
to
3f9675b
Compare
Thanks! /lgtm |
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
/approve
Thanks, I don't have further comments now! :) |
Ref #6928 |
eedf2df
to
bb2c122
Compare
/hold |
``` stress -ignore "unable to grab random port" -p 32 ./test/integration/gardenlet/backupbucket/backupbucket.test ... 26m10s: 1978 runs so far, 0 failures 26m15s: 1987 runs so far, 0 failures 26m20s: 1993 runs so far, 0 failures 26m25s: 1998 runs so far, 0 failures 26m30s: 2004 runs so far, 0 failures 26m35s: 2010 runs so far, 0 failures ```
bb2c122
to
31355f2
Compare
No flakes so far. |
@shafeeqes: The following test failed, say
Full PR test history. Your PR dashboard. Command help for this repository. 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. I understand the commands that are listed here. |
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rfranzke 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 |
BackupBucket
controller to controller-runtimeBackupBucket
controller to controller-runtime
How to categorize this PR?
/area dev-productivity scalability
/kind enhancement
What this PR does / why we need it:
Refactor the
BackupBucket
controller to controller-runtime.This PR also adds a field selector for
spec.bucketName
of BackupEntry.Which issue(s) this PR fixes:
Part of #4251
Special notes for your reviewer:
Generally, we want to follow this cookbook while refactoring existing controllers:
Add documentation
Add integration test based on envtest (if not already present)
Switch controller to controller-runtime
Release note: