In Tencent Container Registry (TCR), a namespace is used to manage multiple associated image repositories and Helm charts. It does not directly store container images or Helm charts, but can map to teams, product projects, or individuals in an enterprise.
TCR Enterprise Edition instances are exclusive for an enterprise. Therefore, you do not need to worry that a namespace may be occupied by other users when creating the namespace. However, if you create a namespace in a TCR Personal Edition instance, the name of the namespace must be different from that of any existing namespaces. This document describes how to create and manage a namespace in a TCR Enterprise Edition instance.
Before creating and managing a namespace in a TCR Enterprise Edition instance, complete the following tasks:
Log in to the TCR console and select Namespace in the left sidebar.
On the "Namespace" page, you can view the namespace list of the current instance. To change the instance, select the desired instance name from the Instance Name drop-down list at the top of the page.
Click Create. In the "Create a Namespace" window, configure the name and access level of the namespace, as shown in the figure below.
Click Confirm to create the namespace.
After the namespace is created, you can view the namespace on the "Namespace" page. Then, you can perform the following operations to manage the namespace. See the figure below.
In the "Access Level" area of a specified namespace, click in front of "Public" or "Private" to change the public or private attribute of the namespace.
After the access level is changed, all the image repositories and Helm charts in the namespace immediately inherit this attribute. Do not change a private namespace to a public namespace unless necessary.
Click under "Security Scan" of a specified namespace to change the security scan mode for container images in this namespace. You can set the security scan mode to Manual or Automatic.
Changing the security scan mode does not affect existing security scan results.
To delete a namespace, select a namespace and click Delete next to the namespace. To prevent important data from being deleted by mistake, a namespace that still contains image repositories or Helm charts cannot be deleted.