When renaming or removing a deployment from kubetools.yml, kubetools does not currently remove these K8s objects, leaving that up to the user. This can be achieved by inspecting all deployments in the namespace and looking at the kubetools/project_name label, and then removing ones that should no longer exist.
Bug because this really should be the expected behavior in this scenario.
When renaming or removing a deployment from
kubetools.yml
,kubetools
does not currently remove these K8s objects, leaving that up to the user. This can be achieved by inspecting all deployments in the namespace and looking at thekubetools/project_name
label, and then removing ones that should no longer exist.Bug because this really should be the expected behavior in this scenario.