-
Notifications
You must be signed in to change notification settings - Fork 366
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
🐛 Give permission claim controllers their own name #2190
Conversation
Skipping CI for Draft Pull Request. |
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.
While you're in here, the other controllers in here each all need their own unique name (e.g. deletion)
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.
Can we create individual clients for them as well with unique user agents?
pkg/server/controllers.go
Outdated
return err | ||
} | ||
|
||
controllerName = "permission-claim-label-resource-controller" |
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.
Do these controllers export their .Name
as a package constant? If not, could they?
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.
Yeah, they do. I'll switch things over and make sure they're all pointing at the package vars and add those if they're not present.
Signed-off-by: Nolan Brubaker <nolan@nbrubaker.com>
e2e-shared-server failed on flake, kcp-dev/contrib-tmc#89 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ncdc 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 |
Flake kcp-dev/contrib-tmc#89 |
Summary
Give each of the controllers launched as part of apibindings startup their own name for logging
Related issue(s)
Fixes #1933