mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-01 16:58:06 +02:00
fix errors when changing service type (#716)
* fix errors when changing service type * nullify service and endpoint before recreation * improve wait for delete logic and reuse config parameters
This commit is contained in:
committed by
Sergey Dudoladov
parent
f9487e41c1
commit
2ce602fcd7
@@ -4,11 +4,9 @@ import "time"
|
||||
|
||||
// General kubernetes-related constants
|
||||
const (
|
||||
PostgresContainerName = "postgres"
|
||||
PostgresContainerIdx = 0
|
||||
K8sAPIPath = "/apis"
|
||||
StatefulsetDeletionInterval = 1 * time.Second
|
||||
StatefulsetDeletionTimeout = 30 * time.Second
|
||||
PostgresContainerName = "postgres"
|
||||
PostgresContainerIdx = 0
|
||||
K8sAPIPath = "/apis"
|
||||
|
||||
QueueResyncPeriodPod = 5 * time.Minute
|
||||
QueueResyncPeriodTPR = 5 * time.Minute
|
||||
|
||||
Reference in New Issue
Block a user