Do not print serviceUID and configUID labels in service export result#1194
Conversation
While exporting the service using `service export` command, ignore the service labels with keys 'configUID' and `configUID` see knative/serving#10539 for further details.
knative-prow-robot
left a comment
There was a problem hiding this comment.
@navidshaikh: 1 warning.
Details
In response to this:
Description
While exporting the service using
service exportcommand, ignore
the service labels with keys 'configUID' andconfigUIDChanges
- Strip the mentioned labels from service before export
Reference
see knative/serving#10539 for further details
/lint
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/test-infra repository.
|
@navidshaikh thanks looks good! /lgtm |
rhuss
left a comment
There was a problem hiding this comment.
Looks good, but could we add a test (unit/e2e) + changelog entry please ?
maximilien
left a comment
There was a problem hiding this comment.
/ok-to-test
/lgtm
/hold to allow others to review
|
|
||
| var IGNORED_SERVICE_ANNOTATIONS = []string{ | ||
| // IgnoredServiceAnnotations defines the annotation keys which should be | ||
| // removed from service annotations before export |
There was a problem hiding this comment.
Is there a link on the API or docs repo where these are to be found?
There was a problem hiding this comment.
they are in the main branch of serving (and will be part of 0.21 release) knative/serving#10539
/cc @duglin might know better if the docs etc are in order
|
The following is the coverage report on the affected files.
|
|
@navidshaikh: GitHub didn't allow me to request PR reviews from the following users: might, better, are, order, docs, etc, in, know, if, the. Note that only knative members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn 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/test-infra repository. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maximilien, navidshaikh, rhuss The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@googlebot recheck |
|
@googlebot I signed it! |
|
/unhold |
David meets all criteria for an approver: - [x] Reviewer for at least 3 months - [x] Primary reviewer for at least 10 substantial PRs to the codebase, e.g. * knative#1246 * knative#1194 * knative#738 * knative#832 * knative#1016 * knative#877 * knative#667 * knative#697 * knative#1212 * knative#835 - [x] Reviewed at least 30 PRs to the codebase ([38 assigned PRs](https://github.com/knative/client/pulls?q=type%3Apr+assignee%3Adsimansk+)) - [x] Nominated by a WG lead (rhuss) Congrats David ! Thanks a lot for your awesome work & contributions.
David meets all criteria for an approver: - [x] Reviewer for at least 3 months - [x] Primary reviewer for at least 10 substantial PRs to the codebase, e.g. * knative#1246 * knative#1194 * knative#738 * knative#832 * knative#1016 * knative#877 * knative#667 * knative#697 * knative#1212 * knative#835 - [x] Reviewed at least 30 PRs to the codebase ([38 assigned PRs](https://github.com/knative/client/pulls?q=type%3Apr+assignee%3Adsimansk+)) - [x] Nominated by a WG lead (rhuss) Congrats David ! Thanks a lot for your awesome work & contributions.
David meets all criteria for an approver: - [x] Reviewer for at least 3 months - [x] Primary reviewer for at least 10 substantial PRs to the codebase, e.g. * #1246 * #1194 * #738 * #832 * #1016 * #877 * #667 * #697 * #1212 * #835 - [x] Reviewed at least 30 PRs to the codebase ([38 assigned PRs](https://github.com/knative/client/pulls?q=type%3Apr+assignee%3Adsimansk+)) - [x] Nominated by a WG lead (rhuss) Congrats David ! Thanks a lot for your awesome work & contributions.
Description
While exporting the service using
service exportcommand, ignorethe service labels with keys 'configUID' and
configUIDChanges
Reference
see knative/serving#10539 for further details
/lint