Show envFrom when running describe service or revision#630
Show envFrom when running describe service or revision#630knative-prow-robot merged 1 commit intoknative:masterfrom
Conversation
|
Hi @MIBc. 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. DetailsInstructions 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. |
rhuss
left a comment
There was a problem hiding this comment.
Thanks a lot. I have one request for change of the output, but otherwise looks good.
Some other remarks:
- Could you please add the changelog line directly into CHANGELOG.adoc and add it to the PR (as explained in the issue template) ?
- Ideally we could already resolve the configmap or secret to the values they refer to, but I'm afraid that's not possible as we are no "allowed" to access configmaps/secrets via the K8s API. So having only the reference here is fine.
As a next step, we have to add this feature to kn service describe, too, for the currently active configuration, but also for all revisions (when use with --verbose)
| } | ||
| } | ||
| if len(configMap) > 0 { | ||
| result = append(result, fmt.Sprintf("ConfigMap:(%s)", strings.Join(configMap, ","))) |
There was a problem hiding this comment.
Can we please use the same format as it can be specified on the command line ? Ie. "cm:mymap" an "secret:mysecret" ? This helps to keep our wording consistent. (and you can better reuse it with copy&paste actions).
|
@MIBc there is a minor formatting glitch which causes the test to fail. Could please fix that, then we are good to merge. Thank you. |
|
OK |
Fixes knative#626 Show envFrom when running describe service or revison. The result like: EnvFrom: cm:test1, cm:test2
|
@MIBc: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
|
/ok-to-test
On Sun, 2 Feb 2020 at 8:47 AM, Knative Prow Robot ***@***.***> wrote:
@MIBc <https://github.com/MIBc>: Cannot trigger testing until a trusted
user reviews the PR and leaves an /ok-to-test message.
In response to this
<#630 (comment)>:
/retest
Instructions for interacting with me using PR comments are available here
<https://git.k8s.io/community/contributors/guide/pull-requests.md>. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
<https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:>
repository.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#630?email_source=notifications&email_token=AATE22HW3EBWY2PKCTBD3ATRAY3MNA5CNFSM4KOQZHGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRMUIA#issuecomment-581093920>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATE22AJH2XLW7XTSH6VNS3RAY3MNANCNFSM4KOQZHGA>
.
--
Navid Shaikh
Composed on handheld device.
|
|
The following is the coverage report on the affected files.
|
|
The following is the coverage report on the affected files.
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MIBc, 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 |
Run `make generate-release` using openshift-knative/hack. Co-authored-by: dsimansk <dsimansk@users.noreply.github.com>
Fixes #626
Proposed Changes
EnvFrom: ConfigMap:(testConfig), Secret:(testSecret)Release Note:
--env-fromis not shown inservice describeandrevision describe#626 by showing envFrom when running describe revision.