Skip to content

Commit a27b03e

Browse files
committed
fix code-format-check
bump helm chart version
1 parent e76ac80 commit a27b03e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

api/v1alpha1/storage_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ package v1alpha1
33
import (
44
"context"
55
"fmt"
6-
"gopkg.in/yaml.v3"
76
"math/rand"
87

98
"github.com/golang-jwt/jwt/v4"
109
"github.com/google/go-cmp/cmp"
1110
"github.com/google/go-cmp/cmp/cmpopts"
11+
"gopkg.in/yaml.v3"
1212
corev1 "k8s.io/api/core/v1"
1313
"k8s.io/apimachinery/pkg/runtime"
1414
"k8s.io/utils/strings/slices"

deploy/ydb-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.5.25
18+
version: 0.5.26
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.5.25"
24+
appVersion: "0.5.26"

internal/controllers/database/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func (r *Reconciler) initializeTenant(
306306
r.Recorder.Event(
307307
database,
308308
corev1.EventTypeNormal,
309-
string(DatabaseInitializing),
309+
"Initialized",
310310
fmt.Sprintf("Tenant %s created", tenant.Path),
311311
)
312312

internal/controllers/storage/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import (
44
"context"
55
"fmt"
66

7+
"github.com/ydb-platform/ydb-go-sdk/v3"
78
corev1 "k8s.io/api/core/v1"
89
"k8s.io/apimachinery/pkg/api/meta"
910
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1011
ctrl "sigs.k8s.io/controller-runtime"
1112

12-
"github.com/ydb-platform/ydb-go-sdk/v3"
1313
"github.com/ydb-platform/ydb-kubernetes-operator/api/v1alpha1"
1414
"github.com/ydb-platform/ydb-kubernetes-operator/internal/cms"
1515
. "github.com/ydb-platform/ydb-kubernetes-operator/internal/controllers/constants" //nolint:revive,stylecheck
@@ -83,7 +83,7 @@ func (r *Reconciler) checkReplaceConfigOperation(
8383
) (bool, ctrl.Result, error) {
8484
condition := meta.FindStatusCondition(storage.Status.Conditions, ReplaceConfigOperationCondition)
8585
if len(condition.Message) == 0 {
86-
// retry create tenant
86+
// retry replace config
8787
meta.SetStatusCondition(&storage.Status.Conditions, metav1.Condition{
8888
Type: ReplaceConfigOperationCondition,
8989
Status: metav1.ConditionFalse,

0 commit comments

Comments
 (0)