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

check resource verbs before watch #18

Merged
merged 1 commit into from
Oct 17, 2023
Merged

check resource verbs before watch #18

merged 1 commit into from
Oct 17, 2023

Conversation

Yuyz0112
Copy link
Member

Not every K8s resource support the watch API, so before start a ListWatch informer, we should check API verbs.

We already have a cache for ApiResourceList, this patch just extend it so all the KubeApi and KubeSdk instances can share the same cache when they have same basePath.

Not every K8s resource support the watch API, so before start a
ListWatch informer, we should check API verbs.

We already have a cache for ApiResourceList, this patch just
extend it so all the KubeApi and KubeSdk instances can share the
same cache when they have same basePath.
@Yuyz0112 Yuyz0112 merged commit 4b6bd58 into main Oct 17, 2023
1 check passed
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.

2 participants