This section describes how to edit ConfigMap data settings.

Prerequisites

You need to be part of a cluster and have the cluster-admin role in that cluster.

Steps

  1. Log in to the KubeSphere web console as a user with the cluster-admin role and access your cluster.

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

  3. On the right side of the ConfigMap you want to edit, click more, and then select Edit Settings from the drop-down list.

  4. In the Edit Settings dialog box, set the key-value pair data for the ConfigMap, and then click OK.

    • Click Add Data to set key-value pair data.

    • Hover over an existing data entry, then click pen on the right to edit the data entry.

    • Hover over an existing data entry, then click trash-light on the right to delete the data entry.