From 1c76f551bef05a1c30d4b578c54dd4d2c2aa7d0f Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Mon, 18 Dec 2023 14:40:03 +0100 Subject: [PATCH] t --- modules/common/tls/tls.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/common/tls/tls.go b/modules/common/tls/tls.go index 6cbf961c..0670cf1c 100644 --- a/modules/common/tls/tls.go +++ b/modules/common/tls/tls.go @@ -401,7 +401,7 @@ func (c *Ca) CreateVolumeMounts(caBundleMount *string) []corev1.VolumeMount { volumeMounts := []corev1.VolumeMount{} if caBundleMount == nil { - caBundleMount = ptr.To("/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem") + caBundleMount = ptr.To(DownstreamTLSCABundlePath) } if c.CaBundleSecretName != "" { @@ -456,7 +456,7 @@ func (s *Service) CreateDatabaseClientConfig(serviceID string) string { } // Client uses a CA certificate - caPath := "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem" + caPath := DownstreamTLSCABundlePath if s.CaMount != nil { caPath = *s.CaMount }