diff --git a/pkg/controller/clusterissuers/sync.go b/pkg/controller/clusterissuers/sync.go index 3167ac3a7..c3097eb78 100644 --- a/pkg/controller/clusterissuers/sync.go +++ b/pkg/controller/clusterissuers/sync.go @@ -41,8 +41,8 @@ const ( func (c *controller) Sync(ctx context.Context, iss *cmapi.ClusterIssuer) (err error) { log := logf.FromContext(ctx) - // allow a maximum of 10s - ctx, cancel := context.WithTimeout(ctx, time.Second*10) + // allow a maximum of 90s + ctx, cancel := context.WithTimeout(ctx, time.Second*90) defer cancel() issuerCopy := iss.DeepCopy() diff --git a/pkg/controller/issuers/sync.go b/pkg/controller/issuers/sync.go index cc9e5405f..2a8fcc780 100644 --- a/pkg/controller/issuers/sync.go +++ b/pkg/controller/issuers/sync.go @@ -41,8 +41,8 @@ const ( func (c *controller) Sync(ctx context.Context, iss *cmapi.Issuer) (err error) { log := logf.FromContext(ctx) - // allow a maximum of 10s - ctx, cancel := context.WithTimeout(ctx, time.Second*10) + // allow a maximum of 90s + ctx, cancel := context.WithTimeout(ctx, time.Second*90) defer cancel() issuerCopy := iss.DeepCopy()