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: SDS server should support DiscoveryRequests with an empty list of resource names #337

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

yskopets
Copy link
Contributor

Summary

  • SDS server should support DiscoveryRequests with an empty list of resource names

Issues resolved

Fix #328

@yskopets yskopets added this to the 0.3.0 milestone Oct 11, 2019
if len(req.ResourceNames) == 0 {
// Do not respond to SDS requests with an empty list of resource names.
// In practice, such requests can be observed when Envoy is removing
// Listeners and Clusters with TLS configuration that refers to SDS.
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 for the comment explaining why

@yskopets yskopets merged commit 25898fe into master Oct 11, 2019
@yskopets yskopets deleted the fix/sds-empty-resource-names branch October 23, 2019 09:55
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.

SDS server should support DiscoveryRequests with an empty list of resource names
2 participants