odo
odo copied to clipboard
`odo deploy` does not delete resources present remotely but not in the Devfile
/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?
A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.
This issue was closed because it has been inactive for 30 days since being marked as stale.
/remove-lifecycle rotten /remove-lifecycle stale /lifecycle frozen /reopen
Still relevant.