Edit Secret Settings
This section describes how to edit the settings of a Secret.
You can edit the data of a Secret. KubeSphere does not support editing the type of a Secret.
Prerequisites
-
The Application Management for Cluster Federation extension must be installed and enabled on the KubeSphere platform.
-
You need to join a federated project and have the Federated Project Management permission in the corresponding workspace.
Steps
-
Log in to the KubeSphere web console as a user with Federated Project Management permissions and enter your federated project.
-
Click Configuration > Secrets in the left navigation pane.
-
On the right side of the Secret you want to edit, click
, and then select Edit Settings from the dropdown list.
-
In the Edit Settings dialog box, set the data for the Secret according to its type, and then click OK.
-
For a Secret of type Default, configure the following parameters:
Parameter Description Data
Set user-defined key-value pair data.
-
Click Add Data to set key-value pair data.
-
Hover over an existing data entry, then click
on the right to edit the data entry.
-
Hover over an existing data entry, then click
on the right to delete the data entry.
-
-
For a Secret of type TLS, configure the following parameters:
Parameter Description Certificate
TLS certificate.
Private Key
TLS private key.
-
For a Secret of type Image Registry, configure the following parameters:
Parameter Description Registry Address
The address of the image registry. Click the dropdown list to select HTTP or HTTPS protocol.
Username
The username for accessing the image registry.
Email
The email of the user for accessing the image registry.
Password
The password for accessing the image registry.
-
Click Verify to check if the password is correct.
-
Click
/
to show/hide the password in plain text.
Data
Key-value pair data for accessing the image registry.
-
-
For a Secret of type Username and Password, configure the following parameters:
Parameter Description Username
User-defined username.
Password
User-defined password. Click
/
to show/hide the password in plain text.
-