Date: 2023-01-23
Accepted
The OSD-based control plane provisions one namespace in the target member cluster for every workspace (internally represented by a Space CR) which is created for a Konflux user. All the namespace names provisioned in this way should have a fixed suffix because of two reasons:
Every namespace provisioned for an Konflux top-level workspace will have a name with the fixed suffix -tenant
. The complete format will be <workspace-name>-tenant
.
Every namespace provisioned for an Konflux environment sub-workspace (created from a SpaceRequest
CR using appstudio-env
tier) will have a name with the fixed suffix -env
. The complete format will be <sub-workspace-name>-env
.
Any changes in the format of the namespace names cause the deletion of all existing namespaces (provisioned for Konflux workspaces), followed by the creation of the namespaces which will use the new format. In other words, all data in the old namespaces will be deleted.