Skip to content

Commit

Permalink
Fix domain ConfigMap keys
Browse files Browse the repository at this point in the history
  • Loading branch information
fraliv13 committed Nov 13, 2023
1 parent b2ad6a4 commit 688bda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/platform/platform_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 688bda6

Please sign in to comment.