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

[branch/v8] Ensure Cache types.WatchKinds and proto.WatchEvents are in sync (#11692) #11926

Merged
merged 3 commits into from
Apr 18, 2022

Conversation

rosstimothy
Copy link
Contributor

Backport

This will backport the following commits from master to branch/v8:

Questions ?

Please refer to the Backport tool documentation

…11692)

This adds a test, `TestCacheWatchKindExistsInEvents`, that ensures
all `types.WatchKind` registered for all Cache components have a
corresponding `proto.Event` defined. By doing this we can ensure
that for a release there will be no `resource type X is not
suppported` errors causing the Cache to be unhealthy. Unfortunately
this does not prevent issues across releases which may have different
resources being emitted.

(cherry picked from commit f5d2542)

# Conflicts:
#	lib/auth/grpcserver.go
@rosstimothy rosstimothy enabled auto-merge (squash) April 15, 2022 21:15
@rosstimothy rosstimothy merged commit 7c9ba18 into branch/v8 Apr 18, 2022
@rosstimothy rosstimothy deleted the backport/branch/v8/pr-11692 branch April 18, 2022 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants