Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
stuggi committed Dec 18, 2023
1 parent d657c7e commit 1c76f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/common/tls/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 1c76f55

Please sign in to comment.