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

Migrate Service and Ingress to client-go dynamic client #2373

Merged
merged 1 commit into from
Mar 24, 2020

Conversation

youngnick
Copy link
Member

This is further refactoring for #2219.

Moves Service and Ingress to the client-go dynamic client, leaving only Secrets and Endpoints not handled by the new InformerSet. Secrets need namespace handling, and Endpoints need a separate handler.

Signed-off-by: Nick Young [email protected]

@codecov
Copy link

codecov bot commented Mar 23, 2020

Codecov Report

Merging #2373 into master will decrease coverage by 0.17%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2373      +/-   ##
=========================================
- Coverage   77.97%   77.8%   -0.18%     
=========================================
  Files          61      61              
  Lines        5236    5248      +12     
=========================================
  Hits         4083    4083              
- Misses       1066    1076      +10     
- Partials       87      89       +2
Impacted Files Coverage Δ
cmd/contour/serve.go 0% <ø> (ø) ⬆️
internal/k8s/converter.go 55.29% <0%> (-9.09%) ⬇️
internal/k8s/informers.go 0% <0%> (ø) ⬆️

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 fb5056e...f9a74b1. Read the comment docs.

Copy link
Contributor

@jpeach jpeach left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple of tweaks.

Would you mind taking the comment you added to the PR and including that in the commit message?

internal/k8s/converter.go Outdated Show resolved Hide resolved
internal/k8s/informers.go Outdated Show resolved Hide resolved
This is further refactoring for projectcontour#2219.

Moves Service and Ingress to the client-go dynamic client, leaving only Secrets and Endpoints not handled by the new InformerSet. Secrets need namespace handling, and Endpoints need a separate handler.

Signed-off-by: Nick Young <[email protected]>
@youngnick youngnick merged commit a1064e8 into projectcontour:master Mar 24, 2020
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