This section describes how to edit constraint template configuration.

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 KubeSphere platform needs to have the Gatekeeper extension installed and enabled.

Steps

  1. Log in to the KubeSphere web console with a user who has cluster-admin permissions and enter your cluster.

  2. Click Gatekeeper > Constraint Templates in the left navigation pane.

  3. On the right side of the constraint template you want to edit, click more, then select Edit YAML from the dropdown list.

  4. In the Edit YAML dialog, modify the relevant configuration, then click OK.