postgres-operator/manifests
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
..
api-service.yaml [UI] add tab for monthly costs per cluster (#796) 2020-02-19 12:58:24 +01:00
complete-postgres-manifest.yaml bump to v2.0 (#3134) 2026-07-27 23:50:17 +02:00
configmap.yaml prepare bugfix release (#3147) 2026-07-29 10:51:00 +02:00
custom-team-membership.yaml PostgresTeam CRD for advanced team management (#1165) 2020-10-28 10:40:10 +01:00
e2e-storage-class.yaml Remove namespace and fix errors in example manifests files (#2131) 2022-12-09 15:33:06 +01:00
fake-teams-api.yaml Remove namespace and fix errors in example manifests files (#2131) 2022-12-09 15:33:06 +01:00
fes.crd.yaml Protect operator CRDs from accidental deletion 2026-08-13 13:03:32 +01:00
infrastructure-roles-configmap.yaml Improve infrastructure role definitions (#208) 2018-04-04 17:21:36 +02:00
infrastructure-roles-new.yaml Remove namespace and fix errors in example manifests files (#2131) 2022-12-09 15:33:06 +01:00
infrastructure-roles.yaml Remove namespace and fix errors in example manifests files (#2131) 2022-12-09 15:33:06 +01:00
kustomization.yaml [UI] add tab for monthly costs per cluster (#796) 2020-02-19 12:58:24 +01:00
minimal-fake-pooler-deployment.yaml prepare bugfix release (#3147) 2026-07-29 10:51:00 +02:00
minimal-master-replica-svcmonitor.yaml Add support for pg18 and remove pg13 (#3035) 2026-02-17 10:19:19 +01:00
minimal-postgres-lowest-version-manifest.yaml Add support for pg18 and remove pg13 (#3035) 2026-02-17 10:19:19 +01:00
minimal-postgres-manifest.yaml Add support for pg18 and remove pg13 (#3035) 2026-02-17 10:19:19 +01:00
operator-service-account-rbac-openshift.yaml Feat: enable owner references (#2688) 2024-08-09 17:58:25 +02:00
operator-service-account-rbac.yaml extend RBAC in prepatation to switch to configmap-based cluster management (#2961) 2025-10-14 10:59:43 +02:00
operatorconfiguration.crd.yaml Protect operator CRDs from accidental deletion 2026-08-13 13:03:32 +01:00
platform-credentials.yaml Remove namespace and fix errors in example manifests files (#2131) 2022-12-09 15:33:06 +01:00
postgres-operator.yaml prepare bugfix release (#3147) 2026-07-29 10:51:00 +02:00
postgres-pod-priority-class.yaml Compare Postgres pod priority on Sync (#1144) 2020-09-23 17:26:56 +02:00
postgresql-operator-default-configuration.yaml prepare bugfix release (#3147) 2026-07-29 10:51:00 +02:00
postgresql.crd.yaml Protect operator CRDs from accidental deletion 2026-08-13 13:03:32 +01:00
postgresteam.crd.yaml Protect operator CRDs from accidental deletion 2026-08-13 13:03:32 +01:00
standby-manifest.yaml Add support for pg18 and remove pg13 (#3035) 2026-02-17 10:19:19 +01:00
user-facing-clusterroles.yaml postgres-pod clusterrole (#832) 2020-02-19 12:32:54 +01:00