postgres-operator/pkg/cluster
Alec Thomas 0f2cb12219 Fix nil pointer dereference in syncCriticalOpPodDisruptionBudget
When the PDB creation fails with "already exists" error, the pdb
variable is nil since the initial Get failed. Using pdb.ObjectMeta
would cause a panic. Use the cluster method to get the PDB name instead.
2026-01-18 01:09:55 -06:00
..
cluster.go fix switchover schedule tests (#2995) 2025-12-11 10:22:40 +01:00
cluster_test.go fix switchover schedule tests (#2995) 2025-12-11 10:22:40 +01:00
connection_pooler.go Ensure podAnnotations are removed from pods if reset in the config (#2826) 2025-01-24 16:53:14 +01:00
connection_pooler_new_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_test.go reflect linter feedback, remove unused argumnents and redundant type from arrays (#2739) 2024-08-27 17:56:07 +02:00
database.go stop retention user cleanup early again when DB connection attempt fails (#2999) 2025-12-10 10:01:07 +01:00
exec.go fix golangci-lint issues (#2715) 2024-08-14 12:54:44 +02:00
filesystems.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
k8sres.go Fix Sidecar without image specification issue (#2977) 2025-12-09 09:37:11 +01:00
k8sres_test.go Fix Sidecar without image specification issue (#2977) 2025-12-09 09:37:11 +01:00
majorversionupgrade.go Create critical-op PDB on-demand to avoid false monitoring alerts 2026-01-02 16:05:32 -05:00
pod.go bump dependencies and reflect linter suggestions (#2963) 2025-10-16 10:23:36 +02:00
pod_test.go fix switch over candidate retrieving (#2760) 2024-11-01 17:06:20 +01:00
resources.go Create critical-op PDB on-demand to avoid false monitoring alerts 2026-01-02 16:05:32 -05:00
streams.go do not remove publications of slot defined in manifest (#2868) 2025-02-26 17:31:37 +01:00
streams_test.go fix flaky comparison unit test of retruned errors (#2822) 2024-12-19 17:35:01 +01:00
sync.go Fix nil pointer dereference in syncCriticalOpPodDisruptionBudget 2026-01-18 01:09:55 -06:00
sync_test.go Create critical-op PDB on-demand to avoid false monitoring alerts 2026-01-02 16:05:32 -05:00
types.go Critical operation PDB (#2830) 2025-01-29 12:41:08 +01:00
util.go upgrade Go from 1.23.4 to 1.25.0 (#2945) 2025-08-19 14:40:39 +02:00
util_test.go do not remove publications of slot defined in manifest (#2868) 2025-02-26 17:31:37 +01:00
volumes.go upgrade Go from 1.23.4 to 1.25.0 (#2945) 2025-08-19 14:40:39 +02:00
volumes_test.go Add support for EBS CSI Driver (#2677) 2024-12-19 12:32:09 +01:00