-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix labels and annotations propagation to k8s service on update #15892
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
Conversation
test failures look legit |
This behaviour should have been captured in conformance tests as per the spec - https://github.com/knative/specs/blob/main/specs/serving/knative-api-specification-1.0.md#service-1 Want to add a test here - https://github.com/knative/serving/tree/main/test/conformance/api/v1 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15892 +/- ##
==========================================
- Coverage 80.93% 80.90% -0.04%
==========================================
Files 210 210
Lines 16731 16778 +47
==========================================
+ Hits 13542 13574 +32
- Misses 2839 2852 +13
- Partials 350 352 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
/test istio-latest-no-mesh |
/test istio-latest-no-mesh-tls |
Fixed that to preserve existing labels and annotations on k8s service.
@dprotaso thanks for hints. The spec doesn't explicitly mention Kubernetes Service and labels propagation. Should we amend that to the docs? I'll take a look at adding conformance tests to cover it. |
450af3f
to
3a48db5
Compare
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dsimansk, Fedosin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@dprotaso any objection to cherry-pick to 1.18 and 1.17 release branches? |
@dsimansk nope cherry pick away |
/cherry-pick release-1.18 |
@dsimansk: cannot checkout In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@dsimansk: new pull request created: #15907 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@dsimansk: cannot checkout In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@dsimansk: new pull request created: #15908 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Fixes #15891
Proposed Changes
Release Note
/cc @dprotaso @Fedosin
At least a few tests would be useful here. I'll add those based on initial feedback.