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
I have deployed a cluster with pg-operator.
And it created statefulset along with PVCs as expected.
helm/helm#5156
If you look at the above issue, helm del --purge shouldnt delete pvc along with the statefulset.
But in my case if i helm delete the cluster, its deleting the pvc.
Does pg-operator handles all this?? is this expected behavior?
The text was updated successfully, but these errors were encountered:
If you delete the Postgresql CR this triggers deletion of statefulset and, thus, PVCs. Actually, I thought deleting the chart with --purge does not delete the clusters, see #1057. So in your case everything is deleted? Statefulset, services, PDB?
I have two helm charts - 1. pg-operator and 2. the cluster manifest as a helm chart (we have some postinstall jobs to run, so we have the manifest file also as a helm chart)
You are correct, helm del --purge of pg-operator doesnt effect the cluster.
My concern was, deleting the cluster manifest helm chart is also deleting the PVC.
But ideally, deleting the helm chart (statefulset of cluster) shouldnt delete the pvc...but in my case its deleting the PVC and you mentioned the same.
Is there a way to not delete PVC?
I have deployed a cluster with pg-operator.
And it created statefulset along with PVCs as expected.
helm/helm#5156
If you look at the above issue, helm del --purge shouldnt delete pvc along with the statefulset.
But in my case if i helm delete the cluster, its deleting the pvc.
Does pg-operator handles all this?? is this expected behavior?
The text was updated successfully, but these errors were encountered: