Skip to content

Allow custom Tenant Prefix #1911

@baswag

Description

@baswag

Describe the feature

As a cluster admin, I want to migrate existing Namespaces to be included in a Capsule Tenant, with the forceTenantPrefix enabled.
These namespaces already have a prefix, but that prefix may not be the name of the Tenant.

What would the new user story look like?

  1. When a Tenant is created, a custom Tenant prefix can be specified
  2. This Prefix is used instead of the Tenant name in admission
  3. If no custom prefix is set, it should fall back to the now-current behavior of using the Tenant name
  4. If more than one Tenants have defined the same custom prefix, require use of the tenant label for auto-assignment if global forceTenantPrefix is enabled

Expected behavior

Usage of a prefix for tenant namespaces that is not the tenant name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions