Skip to content

Commit 95baeea

Browse files
committed
bump helm chart version
1 parent 500d099 commit 95baeea

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

api/v1alpha1/storage_webhook.go

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,17 @@ func (r *Storage) GetGRPCServiceEndpoint() string {
6363
}
6464

6565
func (r *Storage) GetHostFromConfigEndpoint() string {
66-
var configuration schema.Configuration
67-
66+
var rawYamlConfiguration string
6867
// skip handle error because we already checked in webhook
69-
configuration, _ = ParseConfiguration(r.Spec.Configuration)
68+
success, dynConfig, _ := ParseDynConfig(r.Spec.Configuration)
69+
if success {
70+
config, _ := yaml.Marshal(dynConfig.Config)
71+
rawYamlConfiguration = string(config)
72+
} else {
73+
rawYamlConfiguration = r.Spec.Configuration
74+
}
75+
76+
configuration, _ := ParseConfiguration(rawYamlConfiguration)
7077
randNum := rand.Intn(len(configuration.Hosts)) // #nosec G404
7178
return fmt.Sprintf("%s:%d", configuration.Hosts[randNum].Host, GRPCPort)
7279
}

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.26
18+
version: 0.5.27
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.26"
24+
appVersion: "0.5.27"

0 commit comments

Comments
 (0)