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 user-specified labels/annotations to Canary for generated Services #538

Merged

Conversation

splkfinn
Copy link
Contributor

I have been working to resolve #510, this is the change set I have (so far).

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

@splkfinn looks good so, can you please check my comments and add unit tests.

Thanks

pkg/apis/flagger/v1beta1/canary.go Outdated Show resolved Hide resolved
pkg/router/kubernetes_default.go Outdated Show resolved Hide resolved
@splkfinn splkfinn force-pushed the feature/user-specified-labels-annotations branch from 3c23966 to dad6dff Compare April 1, 2020 17:19
@splkfinn splkfinn marked this pull request as ready for review April 1, 2020 17:27
@stefanprodan stefanprodan force-pushed the feature/user-specified-labels-annotations branch 2 times, most recently from 76deff2 to d34d60f Compare April 4, 2020 07:22
@codecov-io
Copy link

codecov-io commented Apr 4, 2020

Codecov Report

Merging #538 into master will increase coverage by 0.20%.
The diff coverage is 90.32%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #538      +/-   ##
==========================================
+ Coverage   52.44%   52.65%   +0.20%     
==========================================
  Files          63       63              
  Lines        4919     4938      +19     
==========================================
+ Hits         2580     2600      +20     
+ Misses       1931     1930       -1     
  Partials      408      408              
Impacted Files Coverage Δ
pkg/controller/finalizer.go 39.75% <0.00%> (ø)
pkg/router/factory.go 0.00% <0.00%> (ø)
pkg/router/kubernetes_default.go 65.73% <96.42%> (+5.57%) ⬆️
pkg/controller/scheduler.go 47.21% <100.00%> (ø)

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 b564a2f...84dd000. Read the comment docs.

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

The test coverage is not that great but I'm ok with merging this and do a followup PR.

Thanks @splkfinn

@stefanprodan stefanprodan changed the title WIP: Add user-specified labels/annotations to Canary for resulting Service object Add user-specified labels/annotations to Canary for generated Services Apr 4, 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.

Add user-specified labels/annotations to Canary for resulting Service object
3 participants