-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expose controller-runtime metrics #786
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
Changes from all commits
9e42d3f
cfc26da
6030574
c4e89c3
557c2b2
19a2cb1
0a64797
b5a0e7b
e6b6f85
4d0706a
509442c
02a27cd
aecbeb5
ce72d95
1ab7fca
48364ad
76312ac
2a3eb48
84a2213
a71a3b2
2adb7f6
18cc5ce
04898f9
89144da
8397c39
23c7aca
c4e1922
e6fe5cc
f2f2e91
91f8a59
410be12
ddda0f4
68452c3
84d2432
c6bf9ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -92,6 +92,10 @@ required = [ | |||||
| branch = "master" #osdk_branch_annotation | ||||||
| # version = "=v0.4.0" #osdk_version_annotation | ||||||
|
|
||||||
| [[override]] | ||||||
| name = "k8s.io/kube-openapi" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we move this up with the other k8s.io overrides? Also, looks like an extra space made it in:
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lilic We still need to change this right? |
||||||
| revision = "0cf8f7e6ed1d2e3d47d02e3b6e559369af24d803" | ||||||
|
|
||||||
| [prune] | ||||||
| go-tests = true | ||||||
| non-go = true | ||||||
|
|
||||||
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.
👍 On passing in the context.
Will we want to change this function signature at all if kubernetes-sigs/controller-runtime#273 gets merged? Would we go back to passing in the manager (or maybe the client directly)?
If so, I'm wondering if it would be worth anticipating that now to avoid an API change, or if we should just wait since we don't know exactly how it'll look.
Thoughts?
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.
Yes was thinking about that as well, but as currently we have no idea if that will get merged and how it will look like in the end, so not sure we can fully predict it and think about not breaking the API. And we will have to change Leader functions signature in the case we use from above PR, not sure it makes a difference here. So yes, most likely if that gets merged we will break the API, or just decide to leave it as is, we always have that choice.
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.
Good point about needing to change the leader election API as well.
In that case, I agree with waiting and breaking the API for both if necessary.