Skip to content

Commit 81a98c7

Browse files
Merge pull request #702 from stuggi/route_ca_bundle
[tlse] Restore route DestinationCACertificate to use internal bundle
2 parents c73a218 + eadaeda commit 81a98c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/openstack/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ func (ed *EndpointDetail) CreateRoute(
567567
// get the TLSInternalCABundleFile to add it to the route
568568
// to be able to validate public/internal service endpoints
569569
tlsConfig.DestinationCACertificate, ctrlResult, err = secret.GetDataFromSecret(
570-
ctx, helper, *ed.Service.TLS.SecretName, 5, tls.CAKey)
570+
ctx, helper, ed.Service.TLS.CaBundleSecretName, 5, tls.InternalCABundleKey)
571571
if err != nil {
572572
return ctrlResult, err
573573
} else if (ctrlResult != ctrl.Result{}) {

0 commit comments

Comments
 (0)