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

kuma-cp: add a custom version of SnapshotCache that supports arbitrary xDS resources #528

Merged
merged 3 commits into from
Jan 10, 2020

Conversation

yskopets
Copy link
Contributor

@yskopets yskopets commented Jan 8, 2020

Summary

  • add a custom version of SnapshotCache that supports arbitrary xDS resources

@yskopets yskopets requested review from a team and jakubdyszkiewicz January 8, 2020 12:30
@yskopets yskopets added this to the 0.4.0 milestone Jan 8, 2020
@yskopets yskopets force-pushed the feature/custom-snapshot-cache branch 2 times, most recently from 55a3175 to cfc2b2f Compare January 8, 2020 13:38
envoy_log "github.com/envoyproxy/go-control-plane/pkg/log"
)

// This is a slightly modified version of SnapshotCache from github.com/envoyproxy/go-control-plane
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we contribute to go-control-plane?

I've seen pattern before (copying SnapshotCache from x-control-plane) in home grown control plane, because we had to fix something and didn't have time to wait. Then you have to maintain this file - remember to look at changes to this file with every upgrade of go-control-plane.

We can go with it for now, but can we at least make an issue to avoid this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created a ticket

@yskopets yskopets force-pushed the refactoring/reuse-control-plane-logger branch from 7d23199 to b36d4e4 Compare January 10, 2020 08:15
@yskopets yskopets changed the base branch from refactoring/reuse-control-plane-logger to master January 10, 2020 08:18
@yskopets yskopets force-pushed the feature/custom-snapshot-cache branch from cfc2b2f to 3cc4bb8 Compare January 10, 2020 08:19
@yskopets
Copy link
Contributor Author

@jakubdyszkiewicz Could you please do a follow-up review after mutable SetVersion() operation has been replaced with an immutable WithVersion() (based on feedback from #529 )

@yskopets yskopets force-pushed the feature/custom-snapshot-cache branch from d6c3ec6 to 4fff2db Compare January 10, 2020 10:03
@yskopets yskopets merged commit 0aaa18b into master Jan 10, 2020
@devadvocado devadvocado deleted the feature/custom-snapshot-cache branch March 30, 2020 13:15
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