From 6a3a240e6a0eae23805d2d35a972b6fe282e3bb5 Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Thu, 28 Sep 2023 14:40:55 +0200 Subject: [PATCH] use internal endpoint for admin client Jira: OSP-26299 --- api/v1beta1/keystoneapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1beta1/keystoneapi.go b/api/v1beta1/keystoneapi.go index 09329494..3c3b29c5 100644 --- a/api/v1beta1/keystoneapi.go +++ b/api/v1beta1/keystoneapi.go @@ -75,7 +75,7 @@ func GetAdminServiceClient( keystoneAPI *KeystoneAPI, ) (*openstack.OpenStack, ctrl.Result, error) { // get public endpoint as authurl from keystone instance - authURL, err := keystoneAPI.GetEndpoint(endpoint.EndpointPublic) + authURL, err := keystoneAPI.GetEndpoint(endpoint.EndpointInternal) if err != nil { return nil, ctrl.Result{}, err }