-
Notifications
You must be signed in to change notification settings - Fork 533
kubedctl enable services has conflict with knative services #1078
Comments
@qiujian16 Good catch. The 'core' API types lack of a group doesn't allow providing a group-qualified name in cases like this where the kind/plural name is ambiguous. Would it make sense for |
for better user experience, should we have |
@qiujian16 The current approach is requiring that the user be explicit, and I don't think this case suggests deviating from that approach. We can't assume that we know better than the user as to what they should be enabling. |
yes..that makes sense. So if there are not multiple match, should still use |
And not just for services - kubefedctl should accept |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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/test-infra repository. |
So what's the solution?
|
/reopen. |
/reopen |
@hectorj2f: Reopened this issue. 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/test-infra repository. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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/test-infra repository. |
/remove-lifecycle rotten |
I issued a PR with a potential fix: #1294 |
What happened:
run
$ ./bin/kubefedctl enable services --kubefed-namespace default
returns
F0802 15:16:29.293248 61760 enable.go:110] Error: Multiple resources are matched by "services": services, services.serving.knative.dev. A group-qualified plural name must be provided.
The reason is that i installed knative services crd before. However, we cannot enable kube services using command line, since it has no group.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
install knative services and run kubefedctl enable services
Anything else we need to know?:
Environment:
kubectl version
)/kind bug
The text was updated successfully, but these errors were encountered: