odo icon indicating copy to clipboard operation
odo copied to clipboard

`odo deploy` does not delete resources present remotely but not in the Devfile

Open valaparthvi opened this issue 3 years ago • 3 comments

/kind bug

What versions of software are you using?

Operating System: Fedora 35 Output of odo version: odo v3.1.0 (0364cc880)

How did you run odo exactly?

export PODMAN_CMD=echo
odo init --devfile-path https://raw.githubusercontent.com/redhat-developer/odo/main/tests/examples/source/devfiles/nodejs/devfile-deploy.yaml --name my-nodejs-app
odo deploy

Change the deployment name from my-component to my-component-2

sed -i "s/my-component/my-component-2/" devfile.yaml
odo deploy
k get deploy my-component

Actual behavior

my-component deployment is not deleted.

Expected behavior

my-component deployment should have been deleted since it is not present in the Devfile.

Any logs, error output, etc?

valaparthvi avatar Oct 23 '22 08:10 valaparthvi

A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.

github-actions[bot] avatar Jul 21 '23 00:07 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Aug 21 '23 00:08 github-actions[bot]

/remove-lifecycle rotten /remove-lifecycle stale /lifecycle frozen /reopen

Still relevant.

rm3l avatar Oct 30 '23 09:10 rm3l