-
Notifications
You must be signed in to change notification settings - Fork 692
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
Rebase k8s dependencies to 1.19-rc.2 #337
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
It looks like the
addKnownTypes
function(lines 46 to 51) is no longer called. So should theaddKnownTypes
function just be removed from this file too?I also noticed that some other files have their own
addKnownTypes
functions, so maybe these should be cleaned up too?descheduler/pkg/apis/componentconfig/register.go
Line 38 in 4014eba
descheduler/pkg/apis/componentconfig/v1alpha1/register.go
Line 51 in 4014eba
I'm honestly not sure if these need to be cleaned up or not, but just wanted to point this out just in case.
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, let me check these out. I think at least some of them can be removed if not all
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
addKnownTypes
is still used by theSchemeBuilder
: https://github.com/kubernetes-sigs/descheduler/blob/72946602bbc51c3aee3fe438120040a04e53cbdb/pkg/api/register.go#L25f0456cede4d61f48e51015136685ba1dR25The others in ComponentConfig aren't called, but I think I need to update those to manually invoke
AddToScheme
like I did here