postgres-operator/pkg/controller
Felix Kunde 4a0c483514
add unit test and documentation for finalizers (#2509)
* add unit test and documentation for finalizers
* error msg with lower case and cover sync case
* try to avoid adding json-patch dependency
* use Update to remove finalizer
* changing status and finalizer during create
* do not call Delete() twice
2024-01-22 12:13:40 +01:00
..
controller.go removing inner goroutine in cluster.Switchover (#1876) 2022-05-17 18:10:39 +02:00
logs_and_api.go deprecate ClusterName field of Postgresql type and remove team from REST endpoints (#2015) 2022-08-29 15:00:25 +02:00
node.go End 2 End tests speedup (#1180) 2020-10-28 10:04:33 +01:00
node_test.go diff SecurityContext of containers (#1255) 2020-12-15 10:06:53 +01:00
operator_config.go Use finalizers to avoid losing delete events and to ensure full resource cleanup (#941) 2024-01-04 16:22:53 +01:00
pod.go Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00
postgresql.go add unit test and documentation for finalizers (#2509) 2024-01-22 12:13:40 +01:00
postgresql_test.go allow delete only if annotations meet configured criteria (#1069) 2020-08-13 16:36:22 +02:00
types.go Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
util.go Fix potential panic (#2289) 2023-04-17 14:34:18 +02:00
util_test.go Initialize arrays of errors / error messages + minor refactoring (#1701) 2021-11-29 12:49:12 +01:00