Shashi Ravula

01/31/2023, 6:41 PM
Hi everyone I want to understand how to avoid this scenario in future we created namespaces appset via argoCD which creates namespaces for our k8 clusters in multiple envs under
project A
and due to a misconfiguration another
project B
also created the same namespace appset and objects under it • This caused project A to throw
shared resources
for the
appset • when we tried to remove the new project (Project B) which seemed to have ownership of the
namespace appset
all the apps inside the namespaces started shutting down and eventually namespaces appset went in to
pending for deletion state
after deleting all namespaces • I had to patch finalizers to bring everything back up again why did Project B takeover the ownership of namespace appset?