You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
okteto destroy command removes manifest information from config map even if the destroy command fails. This provokes that the destroy all action in the backend doesn't work properly when a retry is done as the manifest is needed to know the commands to be executed on destroy
Go to the UI and go to the YAML tab, you should see the manifest
Destroy the dev environment
Refresh the UI and you can see that the yaml is not empty (you can also check the configmap to verify that the manifest is not there)
Expected behavior
The manifest shouldn't be deleted from the config map until the configmap is completely desleted as part of the destroy operation. If the destroy fails, the configmap should keep the manifest information
Desktop (please complete the following information):
2.10.x
Additional context
You can see the manifest in the UI when the dev environment is deployed. You can see that there are a couple of commands in the destroy section and one of them executes a non-existent command
In the following screenshot you can see how the manifest is gone after executing a destroy
If you retry the destroy operation, it won't execute the destroy commands again
The text was updated successfully, but these errors were encountered:
Describe the bug
okteto destroy
command removes manifest information from config map even if the destroy command fails. This provokes that thedestroy all
action in the backend doesn't work properly when a retry is done as the manifest is needed to know the commands to be executed on destroyTo Reproduce
Steps to reproduce the behavior:
destroy
section with a command you know it's going to fail (for example, https://github.com/ifbyol/test-okteto/blob/manifest-with-destroy-fail/okteto.yaml)okteto deploy
YAML
tab, you should see the manifestExpected behavior
The manifest shouldn't be deleted from the config map until the configmap is completely desleted as part of the destroy operation. If the destroy fails, the configmap should keep the manifest information
Desktop (please complete the following information):
2.10.x
Additional context
You can see the manifest in the UI when the dev environment is deployed. You can see that there are a couple of commands in the
destroy
section and one of them executes a non-existent commandIn the following screenshot you can see how the manifest is gone after executing a destroy
If you retry the destroy operation, it won't execute the destroy commands again
The text was updated successfully, but these errors were encountered: