-
Notifications
You must be signed in to change notification settings - Fork 386
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
🌱 Switch workload/namespace controller to use committer #2874
🌱 Switch workload/namespace controller to use committer #2874
Conversation
@stevekuznetsov curious for your thoughts on this |
c4bc9d8
to
18ec4de
Compare
@@ -25,7 +25,8 @@ const ( | |||
// representation of the location labels in order to use them in a table column in the CLI. | |||
LocationLabelsStringAnnotationKey = "scheduling.kcp.io/labels" | |||
|
|||
// PlacementAnnotationKey is the label key for the label holding a PlacementAnnotation struct. | |||
// PlacementAnnotationKey is the label key for a namespace that indicates the namespace's labels match the selector | |||
// in at least one ready Placement. |
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.
this drops the specification of the data format. Has this become a string and not a struct?
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.
As best I could tell, it was never a struct.
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.
@davidfestal @qiujian16 @jmprusi can one of you clarify?
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.
I looked everywhere and this is the only place "PlacementAnnotation" is mentioned. Also the code only ever sets the empty string and checks for presence.
/hold I can make this better next week 😀 |
18ec4de
to
9096eea
Compare
@sttts I've reverted my committer changes and restored the reconcile status continue/stop logic, but have still converted this to use committer instead of issuing patches directly. PTAL! |
/unhold |
pkg/reconciler/workload/namespace/namespace_reconcile_placementbind.go
Outdated
Show resolved
Hide resolved
pkg/reconciler/workload/namespace/namespace_reconcile_scheduling_test.go
Show resolved
Hide resolved
9096eea
to
7547f60
Compare
pkg/reconciler/workload/namespace/namespace_reconcile_placementbind.go
Outdated
Show resolved
Hide resolved
/approve needs rebase |
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
539f493
to
35e42f5
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sttts 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 |
/lgtm |
Summary
Related issue(s)
Part of #2635