-
Notifications
You must be signed in to change notification settings - Fork 263
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
Fix env, annotation and labels flags in service create/update/apply #1516
Conversation
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.
@boaz0: 2 warnings.
In response to this:
Description/Changes
Update descriptions to the following flags in
service create/update/apply
:
- env
- labels
- annotations
If you can not unset the label/annotation/env then don't mention it in the description of the flag.
Reference
Fixes #1449
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.
Hi @boaz0. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Codecov Report
@@ Coverage Diff @@
## main #1516 +/- ##
==========================================
+ Coverage 79.39% 79.47% +0.07%
==========================================
Files 162 162
Lines 8497 8530 +33
==========================================
+ Hits 6746 6779 +33
Misses 1073 1073
Partials 678 678
Continue to review full report at Codecov.
|
/ok-to-test |
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.
It looks good to me, but it'd great if you could add unit tests to newly added AddCreateFlags
to meet test coverage threshold as well.
@dsimansk sure. No problem. |
Signed-off-by: Boaz Shuster <[email protected]>
The following is the coverage report on the affected files.
|
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.
Thanks @boaz0!
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: boaz0, dsimansk 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 |
Description/Changes
Update descriptions to the following flags in
service create/update/apply
:If you can not unset the label/annotation/env then don't mention it in the description of the flag.
Reference
Fixes #1449