From 4f35ede3685df11d4d2857422a07aa1f45c93bbf Mon Sep 17 00:00:00 2001 From: Dmitry Kartsev Date: Sun, 29 Sep 2024 15:19:46 +0300 Subject: [PATCH] DEV-23991-watcher-ns: wip --- pkg/app/sso/central.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/app/sso/central.go b/pkg/app/sso/central.go index 1bd0d1f9..9b39aaf0 100644 --- a/pkg/app/sso/central.go +++ b/pkg/app/sso/central.go @@ -64,7 +64,11 @@ func (c *CentralStateManager) depData() map[string]interface{} { "Namespace": c.app.Namespace, "SsoDomainId": strings.Split(c.app.Spec.ClusterDomain, ".")[0], "Spec": c.app.Spec, - "AppUrl": fmt.Sprintf("%s://%s.%s", c.schema(), c.app.Spec.ControlPlane.WebApp.SvcName, c.app.Spec.ClusterDomain), + "AppUrl": fmt.Sprintf("%s://%s%s.%s", c.schema(), + c.app.Spec.Networking.ClusterDomainPrefix.Prefix, + c.app.Spec.ControlPlane.WebApp.SvcName, + c.app.Spec.ClusterDomain, + ), } }