-
Notifications
You must be signed in to change notification settings - Fork 345
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
feat: sync apisix upstream labels #1553
feat: sync apisix upstream labels #1553
Conversation
@@ -141,6 +141,7 @@ func (t *translator) translateExternalApisixUpstream(namespace, upstream string) | |||
if err != nil { | |||
return nil, err | |||
} | |||
ups.Metadata.Labels = au.ObjectMeta.Labels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is appropriate, it will overwrite all labels.
Codecov Report
@@ Coverage Diff @@
## master #1553 +/- ##
==========================================
- Coverage 41.48% 41.47% -0.02%
==========================================
Files 89 89
Lines 7667 7669 +2
==========================================
Hits 3181 3181
- Misses 4122 4123 +1
- Partials 364 365 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…into sycn-upstream-labels
…into sycn-upstream-labels
Type of change:
What this PR does / why we need it:
Fixes #775
Pre-submission checklist: