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

add SDS support #56

Merged
merged 6 commits into from
Jan 25, 2019
Merged

add SDS support #56

merged 6 commits into from
Jan 25, 2019

Conversation

kyessenov
Copy link
Contributor

@kyessenov kyessenov commented Mar 10, 2018

Pending on SDS client implementation.

Contributes to #57

Signed-off-by: Kuat Yessenov kuat@google.com

Signed-off-by: Kuat Yessenov <kuat@google.com>
@kyessenov kyessenov changed the title SDS stubs [WIP] SDS stubs Mar 17, 2018
Signed-off-by: Kuat Yessenov <kuat@google.com>
@taion809
Copy link
Contributor

taion809 commented Sep 5, 2018

@kyessenov hows this going? I see there were some updates to this story here: envoyproxy/envoy#1194

@kyessenov
Copy link
Contributor Author

I put it on hold until SDS got merged into envoy. Seems like it finally did. I'll finish it up tomorrow most likely.

@wozz
Copy link
Contributor

wozz commented Jan 18, 2019

Is there any update on this? I was able to get this working with envoy 1.8.0 in a local test by just merging this branch into master and using a very basic xds server implementation.

@kyessenov
Copy link
Contributor Author

I'll complete and merge it today. Sorry, fell out of my list, and SDS took some time to land in envoy.

Signed-off-by: Kuat Yessenov <kuat@google.com>
Signed-off-by: Kuat Yessenov <kuat@google.com>
Signed-off-by: Kuat Yessenov <kuat@google.com>
@kyessenov kyessenov changed the title [WIP] SDS stubs add SDS support Jan 25, 2019
@codecov-io
Copy link

Codecov Report

Merging #56 into master will decrease coverage by 5.53%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
- Coverage   94.67%   89.14%   -5.54%     
==========================================
  Files           7        7              
  Lines         451      479      +28     
==========================================
  Hits          427      427              
- Misses         15       42      +27     
- Partials        9       10       +1
Impacted Files Coverage Δ
pkg/cache/resource.go 94.73% <0%> (-5.27%) ⬇️
pkg/cache/snapshot.go 92.98% <0%> (-7.02%) ⬇️
pkg/server/gateway.go 84.61% <0%> (-4.58%) ⬇️
pkg/server/server.go 82.01% <0%> (-9.71%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1d16b3...b383d5c. Read the comment docs.

@kyessenov
Copy link
Contributor Author

Coverage drop is expected: it's a bit more work to stub out TLS secrets. Should remain as a TODO.

Copy link
Contributor

@taion809 taion809 left a comment

Choose a reason for hiding this comment

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

Hey,
This LGTM; the TODO you mentioned is around adding Secret to tests for TestSnapshotCacheWatch, TestSnapshotCache, etc? I see that Secrets is excluded from the snapshot test and testTypes. Could that todo be added to the issue tracker?

@kyessenov
Copy link
Contributor Author

@taion809 Adding a TODO to the linked issue.

@kyessenov kyessenov merged commit 77cedfa into envoyproxy:master Jan 25, 2019
@kyessenov kyessenov deleted the sds branch January 25, 2019 17:54
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.

5 participants