If a control plane is deleted and then re-created, it re-use the existing corresponding shared DB table, therefore it may keep unwanted configurations from the old control plane.
Steps To Reproduce
Create new CP (of type k8s)
Create a namespace on it
Delete the cp
Re-create the cp with the same name
Check the namespace created on the old control plane is still there
Expected Behavior
The control plane should start from a clean state DB table.
Describe the bug
If a control plane is deleted and then re-created, it re-use the existing corresponding shared DB table, therefore it may keep unwanted configurations from the old control plane.
Steps To Reproduce
Expected Behavior
The control plane should start from a clean state DB table.
Additional Context
No response