Edit ConfigMap Settings

This section explains how to edit the data of a ConfigMap.

Prerequisites

You should join a cluster and have the Project Resource Management permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

Steps

  1. Log in to the KubeSphere web console with a user who has the Project Resource Management permission, and access your cluster.

  2. Click Configuration > ConfigMaps in the left navigation pane.

  3. Click more on the right of the ConfigMap you want to edit, then choose Edit Settings from the dropdown list.

  4. In the Edit Settings dialog, set the data for the ConfigMap, then click OK.

    • Click Add Data to add a key-value pair.

    • Hover over the created pair, then click pen on the right to edit the pair.

    • Hover over the created pair, then click trash-light on the right to delete the pair.