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

odo delete fails for kubernetes components #5637

Closed
gorkem opened this issue Apr 6, 2022 · 0 comments · Fixed by #5721
Closed

odo delete fails for kubernetes components #5637

gorkem opened this issue Apr 6, 2022 · 0 comments · Fixed by #5721
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)).

Comments

@gorkem
Copy link
Contributor

gorkem commented Apr 6, 2022

/kind bug

What versions of software are you using?

Operating System:
MacOS

Output of odo version:
odo v2.5.0 (5626b5d)

How did you run odo exactly?

odo delete component

Actual behavior

I have a kubernetes component that is defined as follows in my devfile

- name: outerloop-deploy
    kubernetes:
      uri: deploy.yaml

It gets deployed because I have an associated deploy command. When I invoke odo delete it fails with the following error.

odo delete component
Searching resources to delete, please wait...
 ✗  Failed to gather resources for deletion: open /Users/***/****/backstage-starter/devfile.yaml/deploy.yaml: not a directory

Expected behavior

component is deleted.

Any logs, error output, etc?

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 6, 2022
@kadel kadel added the priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). label Apr 7, 2022
@kadel kadel moved this to Todo in odo v3-beta1 Apr 27, 2022
@rm3l rm3l moved this from Todo to In Progress in odo v3-beta1 May 5, 2022
@rm3l rm3l moved this from In Progress to For Review in odo v3-beta1 May 6, 2022
Repository owner moved this from For Review to Done in odo v3-beta1 May 9, 2022
@rm3l rm3l added the v3 label Oct 7, 2022
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. priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)).
Projects
No open projects
Status: Done
3 participants