Skip to content

Conversation

@z103cb
Copy link
Contributor

@z103cb z103cb commented May 2, 2023

Updates to code to upgrade api to a newer version of the API. Resolves issues #343

cmd.OpenAPIConfig = genericapiserver.DefaultOpenAPIConfig(generatedopenapi.GetOpenAPIDefinitions, openapinamer.NewDefinitionNamer(apiserver.Scheme))
cmd := &MetricsAdapter{}
/* TODO find appropriate replacement
cmd.OpenAPIConfig = genericapiserver.DefaultOpenAPIConfig((generatedopenapi.GetOpenAPIDefinitions(), openapinamer.NewDefinitionNamer(apiserver.Scheme))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmatch01 would you happen to know how / why we need this code ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, the metrics code is used in the multi-cluster configuration. The specific lines of code called out will require a bit more time to review.

@z103cb z103cb requested review from KPostOffice and metalcycling May 2, 2023 13:35
Updated k8s version in e2e test
@z103cb
Copy link
Contributor Author

z103cb commented Jul 17, 2023

Closed the PR as is not needed.

@z103cb z103cb closed this Jul 17, 2023
@z103cb z103cb deleted the issue_343 branch July 17, 2023 13:17
@z103cb z103cb mentioned this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants