Skip to content
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

Cannot get ingress #7387

Closed
kevmando opened this issue May 10, 2021 · 6 comments · Fixed by #7415
Closed

Cannot get ingress #7387

kevmando opened this issue May 10, 2021 · 6 comments · Fixed by #7415
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. plugin-kubectl

Comments

@kevmando
Copy link

Describe the bug
Existing ingress is not returning and give the following error.

kubectl get ingress --all-namespaces
error: the server doesn't have a resource type "Ingress"

Steps to reproduce the behavior
Open Kui
Run kubectl get ingress --all-namespaces where cluster has any ingress.

Expected behavior
Returned existing ingress.
(Ingress returns with other terminal apps such as iterm2, but not kui.)

System

  • Kui version: 10.1.4
  • Operating system: OS X 11.2.3
@starpit
Copy link
Contributor

starpit commented May 17, 2021

Howdy, thanks for the bug report. We will look into this tomorrow or the next day hopefully!

@starpit starpit added kind/bug Categorizes issue or PR as related to a bug. plugin-kubectl labels May 18, 2021
@starpit
Copy link
Contributor

starpit commented May 18, 2021

More findings:

this seems to correctly assess the existence of the kind, in kui:

kubectl explain ingress

but the suggested k get ingress errors out, as specified in the issue.

@myan9
Copy link
Contributor

myan9 commented May 18, 2021

I think #7383, #7302 and #7301 have the same problem. The resource kind ends with 's' but is not plural, so Kui incorrectly formatted the URL that communicates with Kubernetes API. PR #7415 fixed this issue by using a real plural npm.

@starpit
Copy link
Contributor

starpit commented May 18, 2021

wow, nice catch!

@kevmando
Copy link
Author

wow, fast. thank you.

@starpit
Copy link
Contributor

starpit commented May 22, 2021

Thanks for identifying the bug! We should have a 10.3.x set of prebuilt binaries out within the next few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. plugin-kubectl
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants