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

Use fully qualified name when doing action on resource #523

Open
jemag opened this issue Dec 12, 2024 · 0 comments
Open

Use fully qualified name when doing action on resource #523

jemag opened this issue Dec 12, 2024 · 0 comments

Comments

@jemag
Copy link

jemag commented Dec 12, 2024

Describe the bug
Resources with the same name may belong to different API group. That is the case for networkpolicies when using Calico:
image
Trying to delete a Calico networkpolicy will try to delete the regular network policy and not find it.

To Reproduce

  1. Go to alias: enter cnp (for caliconetworkpolicy)
  2. Hit gD to delete the cnp
  3. Notice error since it is trying to find regular networkpolicies
    wezterm-gui_ZhWSFSbDGM

Expected behavior
Deletes the Calico network policy

Environment (please complete the following information):

  • OS: Arch Linux Linux 5.15.167.4-microsoft-standard-WSL2
  • Neovim version NVIM v0.11.0-dev-1328+g4889935a7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant