From e85f96b03b06a1ec7a5f6631d1dec6feac320110 Mon Sep 17 00:00:00 2001 From: fraliv13 <5892139+fraliv13@users.noreply.github.com> Date: Mon, 13 Nov 2023 13:20:45 +0200 Subject: [PATCH] Fix domain ConfigMap keys (#75) --- internal/controllers/platform/platform_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controllers/platform/platform_controller.go b/internal/controllers/platform/platform_controller.go index 4c8dae9..aed8ba7 100644 --- a/internal/controllers/platform/platform_controller.go +++ b/internal/controllers/platform/platform_controller.go @@ -467,7 +467,7 @@ func (c *PlatformController) genPlatformTenantsCfgMap(platform *platformv1.Platf tenantData[fmt.Sprintf("MultiTenancy__Tenants__%s__Enabled", tenant.Name)] = strconv.FormatBool(tenant.Spec.Enabled) for _, domain := range domains { tenantHasAccessToDomain := tenantHasAccessToDomain(tenant, domain.Name) - tenantData[fmt.Sprintf("MultiTenancy__Tenants__%s__Domains_%s_Enabled", tenant.Name, domain.Name)] = strconv.FormatBool(tenantHasAccessToDomain) + tenantData[fmt.Sprintf("MultiTenancy__Tenants__%s__Domains__%s__Enabled", tenant.Name, domain.Name)] = strconv.FormatBool(tenantHasAccessToDomain) } }