Postgres Operator/Cluster Deletion

Hello there,

I have 2 Postgres Operator/Cluster provisioning like below:

namespace-a: operator-a, cluster-a
namespace-b: operator-b, cluster-b

If namespace-a was deleted, the operator-b and cluster-b were deleted as well.

namespace_mode = “disabled”
namespace = its own namespace

Please shed your light on this problem.


1 Like

This looks like a bug. The operation deleted all the operators with same name even they are in different namespaces.

Use different name for each operator, for example, add namespace name into the operator name in the Terraform code (you can change the value if you are deploying with Helm chart):

      operator_name    = "pg-operator-${var.namespace}"
1 Like