get postgres container by name, not index (#1504)

This commit is contained in:
Felix Kunde
2021-05-27 18:56:58 +02:00
committed by GitHub
parent 48cdca645d
commit 7884af2d59
5 changed files with 49 additions and 33 deletions
-1
View File
@@ -5,7 +5,6 @@ import "time"
// General kubernetes-related constants
const (
PostgresContainerName = "postgres"
PostgresContainerIdx = 0
K8sAPIPath = "/apis"
QueueResyncPeriodPod = 5 * time.Minute