Skip to content

Commit 11716fc

Browse files
authored
YDBOPS-9691 use global ca-certificates.crt for database (#208)
1 parent e612e4a commit 11716fc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

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

internal/resources/database_statefulset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ func (b *DatabaseStatefulSetBuilder) buildContainerArgs() ([]string, []string) {
545545
"--grpc-key",
546546
fmt.Sprintf("%s/%s", grpcTLSVolumeMountPath, wellKnownNameForTLSPrivateKey),
547547
"--grpc-ca",
548-
fmt.Sprintf("%s/%s", grpcTLSVolumeMountPath, wellKnownNameForTLSCertificateAuthority),
548+
fmt.Sprintf("%s/%s", systemCertsDir, caCertificatesFileName),
549549
)
550550
}
551551

internal/resources/resource.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const (
6161

6262
caBundleEnvName = "CA_BUNDLE"
6363
caBundleFileName = "userCABundle.crt"
64+
caCertificatesFileName = "ca-certificates.crt"
6465
updateCACertificatesBin = "update-ca-certificates"
6566

6667
localCertsDir = "/usr/local/share/ca-certificates"

0 commit comments

Comments
 (0)