From c0933d549338ae38983158d1ed9d4f5c337b3c6e Mon Sep 17 00:00:00 2001 From: vbadrina Date: Thu, 3 Oct 2024 17:16:40 +0530 Subject: [PATCH] Update the onboarding token endpoint Signed-off-by: vbadrina --- addons/onboarding_token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/onboarding_token.go b/addons/onboarding_token.go index 5f4416e7..6cbde938 100644 --- a/addons/onboarding_token.go +++ b/addons/onboarding_token.go @@ -27,7 +27,7 @@ func requestStorageClusterPeerToken(ctx context.Context, proxyServiceNamespace s if err != nil { return "", fmt.Errorf("failed to read token: %w", err) } - url := fmt.Sprintf("https://ux-backend-proxy.%s.svc.cluster.local:8888/onboarding-tokens", proxyServiceNamespace) + url := fmt.Sprintf("https://ux-backend-proxy.%s.svc.cluster.local:8888/onboarding/peer-tokens", proxyServiceNamespace) client := &http.Client{ Timeout: 30 * time.Second, Transport: &http.Transport{