diff --git a/deploy/ydb-operator/Chart.yaml b/deploy/ydb-operator/Chart.yaml index 75e65550..5bea41d9 100644 --- a/deploy/ydb-operator/Chart.yaml +++ b/deploy/ydb-operator/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.5.29 +version: 0.5.30 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.5.29" +appVersion: "0.5.30" diff --git a/internal/connection/connection.go b/internal/connection/connection.go index 5c99c6c0..d7240ea2 100644 --- a/internal/connection/connection.go +++ b/internal/connection/connection.go @@ -16,7 +16,7 @@ import ( ) func Open(ctx context.Context, endpoint string, opts ...ydb.Option) (*ydb.Driver, error) { - ctx, cancel := context.WithTimeout(ctx, time.Second) + ctx, cancel := context.WithTimeout(ctx, 10*time.Second) defer cancel() db, err := ydb.Open( diff --git a/internal/controllers/storage/init.go b/internal/controllers/storage/init.go index d92f6c88..a9dc1b17 100644 --- a/internal/controllers/storage/init.go +++ b/internal/controllers/storage/init.go @@ -328,7 +328,7 @@ func (r *Reconciler) createOrUpdateOperatorTokenSecret( storage *resources.StorageClusterBuilder, creds ydbCredentials.Credentials, ) error { - ydbCtx, cancel := context.WithTimeout(ctx, time.Second) + ydbCtx, cancel := context.WithTimeout(ctx, 10*time.Second) defer cancel() token, err := creds.Token( metadata.AppendToOutgoingContext(ydbCtx, "x-ydb-database", storage.Spec.Domain),