diff --git a/e2e/shared/e2e.go b/e2e/shared/e2e.go index ebe7452a9..c5f46e333 100644 --- a/e2e/shared/e2e.go +++ b/e2e/shared/e2e.go @@ -15,7 +15,7 @@ import ( "k8s.io/client-go/tools/clientcmd" - "github.com/cenkalti/backoff/v4" + "github.com/cenkalti/backoff/v5" "k8s.io/apimachinery/pkg/types" . "github.com/onsi/gomega" diff --git a/go.mod b/go.mod index b5165487e..8c80edde6 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ replace ( ) require ( - github.com/cenkalti/backoff/v4 v4.3.0 + github.com/cenkalti/backoff/v5 v5.0.0 github.com/dexidp/dex v0.0.0-20240807174518-43956db7fd75 github.com/ghodss/yaml v1.0.0 github.com/go-jose/go-jose/v4 v4.0.4 diff --git a/go.sum b/go.sum index c97417af5..a223f491b 100644 --- a/go.sum +++ b/go.sum @@ -59,6 +59,8 @@ github.com/bshuster-repo/logrus-logstash-hook v1.0.0 h1:e+C0SB5R1pu//O4MQ3f9cFuP github.com/bshuster-repo/logrus-logstash-hook v1.0.0/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= +github.com/cenkalti/backoff/v5 v5.0.0 h1:4ziwFuaVJicDO1ah1Nz1aXXV1caM28PFgf1V5TTFXew= +github.com/cenkalti/backoff/v5 v5.0.0/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= diff --git a/pkg/internal/local/setup/webhook.go b/pkg/internal/local/setup/webhook.go index 65ab595b7..541c5cf0b 100644 --- a/pkg/internal/local/setup/webhook.go +++ b/pkg/internal/local/setup/webhook.go @@ -16,7 +16,7 @@ import ( "k8s.io/utils/ptr" - "github.com/cenkalti/backoff/v4" + "github.com/cenkalti/backoff/v5" aregv1 "k8s.io/api/admissionregistration/v1" appsv1 "k8s.io/api/apps/v1" diff --git a/pkg/internal/local/utils/expect.go b/pkg/internal/local/utils/expect.go index 4f78c8fe0..1621710db 100644 --- a/pkg/internal/local/utils/expect.go +++ b/pkg/internal/local/utils/expect.go @@ -8,7 +8,7 @@ import ( "errors" "time" - "github.com/cenkalti/backoff/v4" + "github.com/cenkalti/backoff/v5" batchv1 "k8s.io/api/batch/v1" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types"