When deploying API Connect it is possible that the postgres does not start due to user error. (Most commonly due to invalid image registry url).

kubctl delele mgmt -n <namespaec> <mgmt-name> should delete the cr but this just hangs. In order to remove the CR you must run the following command.

kubectl patch mgmt <mgmt-name>  -n <namespaec> -p '{"metadata":{"finalizers": []}}' --type=merge

Then you can delete the mgmt cr with kubctl delele mgmt -n <namespaec> <mgmt-name>