You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I delete the Kustomization that includes the resources above. Flux tries to remove the namespace, user, grant and database all at once.
My observation is that while namespace, user and grant are deleted, the database remains as k8s resource in the cluster and in RDS.
However this does only happen if the database is not empty. Therefore I assume that if the database is somewhat filled, the user, grant and namespace (and with that the connection secret) is deleted before the database is successfully dropped.
How could Crossplane help solve your problem?
Implement a deletion order via finalizers?
Can I somehow mark the namespace to wait for those cluster scoped resources (user, grant, database) before it deletes the connection secret?
The text was updated successfully, but these errors were encountered:
What problem are you facing?
I am using FluxCD to reconcile my crossplane resources in my k8s cluster.
I provision a database on AWS RDS with
If I delete the Kustomization that includes the resources above. Flux tries to remove the namespace, user, grant and database all at once.
My observation is that while namespace, user and grant are deleted, the database remains as k8s resource in the cluster and in RDS.
However this does only happen if the database is not empty. Therefore I assume that if the database is somewhat filled, the user, grant and namespace (and with that the connection secret) is deleted before the database is successfully dropped.
How could Crossplane help solve your problem?
Implement a deletion order via finalizers?
Can I somehow mark the namespace to wait for those cluster scoped resources (user, grant, database) before it deletes the connection secret?
The text was updated successfully, but these errors were encountered: