From 20ea084f9389675f3de53801bba098076c959491 Mon Sep 17 00:00:00 2001 From: Garet Halliday <me@garet.holiday> Date: Mon, 2 Oct 2023 14:20:16 -0500 Subject: [PATCH] no resync needed --- .../discovery/discoverers/zalando_operator/discoverer.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/gat/handlers/discovery/discoverers/zalando_operator/discoverer.go b/lib/gat/handlers/discovery/discoverers/zalando_operator/discoverer.go index 8728dda2..75a617e9 100644 --- a/lib/gat/handlers/discovery/discoverers/zalando_operator/discoverer.go +++ b/lib/gat/handlers/discovery/discoverers/zalando_operator/discoverer.go @@ -4,7 +4,6 @@ import ( "context" "fmt" "strings" - "time" "github.com/caddyserver/caddy/v2" acidzalando "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do" @@ -103,7 +102,7 @@ func (T *Discoverer) Provision(ctx caddy.Context) error { T.informer = acidv1informer.NewPostgresqlInformer( T.k8s.AcidV1ClientSet, T.Namespace, - 5*time.Minute, + 0, cache.Indexers{}, ) -- GitLab