improve wait for delete logic and reuse config parameters

This commit is contained in:
Felix Kunde
2019-11-25 16:18:04 +01:00
parent bbb424dc2d
commit dcef7d5d51
2 changed files with 23 additions and 15 deletions
+3 -5
View File
@@ -4,11 +4,9 @@ import "time"
// General kubernetes-related constants
const (
PostgresContainerName = "postgres"
PostgresContainerIdx = 0
K8sAPIPath = "/apis"
ResourceDeletionInterval = 1 * time.Second
ResourceDeletionTimeout = 30 * time.Second
PostgresContainerName = "postgres"
PostgresContainerIdx = 0
K8sAPIPath = "/apis"
QueueResyncPeriodPod = 5 * time.Minute
QueueResyncPeriodTPR = 5 * time.Minute