Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3504 from eduser25/fix-sds
Browse files Browse the repository at this point in the history
Do not send SDS on full config updates
  • Loading branch information
eduser25 authored Jun 3, 2021
2 parents bf42d5c + c32f3c5 commit 4c390a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/envoy/ads/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ func (s *Server) StreamAggregatedResources(server xds_discovery.AggregatedDiscov
}

// Queue a full configuration update
<-s.workqueues.AddJob(newJob(envoy.XDSResponseOrder, nil))
// Do not send SDS, let envoy figure out what certs does it want.
<-s.workqueues.AddJob(newJob([]envoy.TypeURI{envoy.TypeCDS, envoy.TypeEDS, envoy.TypeLDS, envoy.TypeRDS}, nil))

case certUpdateMsg := <-certAnnouncement:
cert := certUpdateMsg.(events.PubSubMessage).NewObj.(certificate.Certificater)
Expand Down

0 comments on commit 4c390a5

Please sign in to comment.