Edit Constraint Configuration
Time updated:2025-12-22 09:26:17
This section describes how to edit the configuration of a constraint.
Prerequisites
-
You need to join a cluster and have the cluster-admin permission in the cluster. For more information, see Cluster Members and Cluster Roles.
-
The Gatekeeper extension must be installed and enabled on the KubeSphere platform.
Steps
-
Log in to the KubeSphere web console with a user who has cluster-admin permissions and enter your cluster.
-
Click Gatekeeper > Constraints in the left navigation pane.
-
On the right side of the constraint you want to edit, click
, and then select Edit YAML from the drop-down list.
-
In the Edit YAML dialog box, modify the relevant configuration, and then click OK.