Skip to content
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

chore: remove slow capabilities check #396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Nov 25, 2024

This removes the check against the kubernetes API to determine all available APIs. This check can be slow sometimes which can lead to builds being slow in the phase where it collects this information.

Rather than query for everything, target the specific APIs and check for an error if they exist or not to determine the capability exists or not.

@shreddedbacon shreddedbacon changed the title chore: remove slow capabailities check chore: remove slow capabilities check Nov 25, 2024
@shreddedbacon shreddedbacon force-pushed the remove-capabilities-check branch from 68ef5a2 to a1eb122 Compare November 25, 2024 08:11
@shreddedbacon shreddedbacon added this to the 2.23.0 milestone Nov 25, 2024
@shreddedbacon shreddedbacon marked this pull request as ready for review December 1, 2024 20:33
@shreddedbacon shreddedbacon force-pushed the remove-capabilities-check branch from a1eb122 to 27af279 Compare December 15, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant