Updating the Namespace Configuration
You can change the whole namespace configuration or only some of the namespace settings.
To change the configuration of an existing namespace, you must have the Namespaces.Configure privilege on the Supervisor Cluster.
Before deleting a storage policy from vCenter Server or a Supervisor Namespace, or changing the storage policy assignment, make sure that no persistent volume claim with the corresponding storage class runs in the namespace. Also, ensure that no Tanzu Kubernetes cluster is using the storage class.
To patch a namespace configuration, create an UpdateSpec specification and set new values only to the configuration settings that you want to change. The parameters of the update specification are the same as the ones you configured during the namespace creation. When you call the update operation, only the settings that you configured in the update specification are applied, the other settings are left as they are.
To reconfigure a namespace entirely, you must create an instance of the SetSpec class. You can change the description, access controls, storage settings, and resource limitations of the specific namespace.