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

push doesn't delete volumes when removed from devfile #3641

Closed
mik-dass opened this issue Jul 24, 2020 · 0 comments · Fixed by #3626
Closed

push doesn't delete volumes when removed from devfile #3641

mik-dass opened this issue Jul 24, 2020 · 0 comments · Fixed by #3626
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@mik-dass
Copy link
Contributor

/kind bug

What versions of software are you using?

master

How did you run odo exactly?

  • create a odo component
  • modify the devfile by adding a storage and mounting it to a component
  • execute odo push
  • check PVC list kubectl get pvc
  • modify the devfile by unmounting the storage and removing it
  • execute odo push
  • check PVC list kubectl get pvc.

The deleted PVC is still present.

Actual behavior

The removed PVC should be deleted.

Commands like odo storage delete <storage-name> -f and odo storage list would require the PVC to be deleted from the cluster too.

Expected behavior

The PVC should be deleted upon odo push when removed from the devfile.

@mik-dass mik-dass added kind/bug Categorizes issue or PR as related to a bug. area/storage labels Jul 24, 2020
@mik-dass mik-dass self-assigned this Jul 24, 2020
@mik-dass mik-dass changed the title push doesn't delete volume when removed from devfile push doesn't delete volumes when removed from devfile Jul 24, 2020
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant