-
Notifications
You must be signed in to change notification settings - Fork 636
Description
Overview
Given that we do not have an OCI for the postgrescluster helm chart (as this ticket documents), I've been copying the postgres-operator-examples helm charts to be direct dependencies of my chart. Things work fine on helm install but on helm uninstall most of the postgrescluster resources are not removed (statefulsets, some deploys, some pods, configmaps, secrets)
Environment
Please provide the following details:
- Platform:
GKE - Platform Version:
v1.27.13-gke.1070000 - PGO Image Tag:
ubi8-16.3-3.4-0 - Postgres Version:
16 - Storage:
standard-rwo pd.csi.storage.gke.io
Steps to Reproduce
REPRO
- check out the branch related to this PR: Use PGO by Default developmentseed/eoapi-k8s#84
- cd
/helm-chart/ - run
helm install -n eoapixyz --create-namespace eoapixyz ./eoapi -f eoapi/values.yaml - run
kubectl get pod,deploy,svc,statefulset -n eoapixyz - run
helm uninstall eoapixyz - run
kubectl get pod,deploy,svc,statefulset -n eoapixyz(and see there are still resources there)
EXPECTED
running kubectl get pod,deploy,svc,statefulset -n eoapixyz after running helm uninstall shouldn't show any resources in that namespace
ACTUAL
running kubectl get pod,deploy,svc,statefulset -n eoapixyz after running helm uninstall shows there are existing resources in that namespace
Logs
None
Additional Information
I have noticed interesting behaviour when just installing pgo helm chart (not as a dependency) that makes me thing other things are going on. For example, after helm install -n testing123 --create-namespace pgo ./pgo and helm uninstall pgo I cannot delete my namespace testing123 b/c the finalizer is waiting on the state of the crunchdata CRD. And I cannot delete the CRD, it just hangs. Same situation for regardless if pgo.singleNamespace is true or false