postgres-operator/docs
Jairo Llopis a30dcea311
Protect operator CRDs from accidental deletion
A 'kubectl delete crd' is destructive: the API server cascades the
delete to every custom resource of that kind in the cluster, so a
single mistyped command can wipe out all postgresql, operator
configuration, postgresteam and fabriceventstream objects at once.
This is especially dangerous for an operator whose whole value
proposition is the data behind those CRs.

The fix is a 'acid.zalan.do/crd-protection' finalizer on each
operator CRD. The apiserver blocks the deletion while the finalizer
is set, so the destructive action is gated behind a manual step
(patch the finalizer away) that anyone running the delete has to
take deliberately.

Removal procedure is documented in docs/administrator.md under
'Protecting CRDs from accidental deletion'.

Assisted-by: OpenCode + MiniMax M3
2026-08-13 13:03:32 +01:00
..
diagrams bump to v2.0 (#3134) 2026-07-27 23:50:17 +02:00
reference Skip owner references on user secrets when secret deletion is disabled (#3165) 2026-08-11 17:22:39 +02:00
administrator.md Protect operator CRDs from accidental deletion 2026-08-13 13:03:32 +01:00
developer.md update docker build commands in Makefiles to use buildx (#3137) 2026-07-23 16:24:23 +02:00
index.md bump to v2.0 (#3134) 2026-07-27 23:50:17 +02:00
migrate.md bump to v2.0 (#3134) 2026-07-27 23:50:17 +02:00
operator-ui.md docs: fix broken links (#1594) 2021-10-18 16:50:27 +02:00
quickstart.md DOC: Minikube has many drivers now, incl. Docker (#2949) 2025-10-14 13:50:11 +02:00
user.md remove gp3 migration flow (#3142) 2026-07-27 14:02:44 +02:00