Edit Secret Settings
This section explains how to edit the settings of a Secret.
You can edit the data of the Secret. KubeSphere does not support editing the type of a Secret.
Prerequisites
You should join a project and have the Secret Management permission within the project. For more information, refer to "Project Members" and "Project Roles".
Steps
-
Log in to the KubeSphere web console with a user who has the Secret Management permission, and access your project.
-
Click Configuration > Secrets in the left navigation pane.
-
Click on the right of the Secret you want to edit, then choose Edit Settings from the dropdown list.
-
In the Edit Settings dialog, set the data for the Secret, then click OK.
-
For the Default type of Secret, set the following parameters:
Parameter Description Data
Set key-value pairs.
-
Click Add Data to add a key-value pair.
-
Hover over the created pair, then click on the right to edit the pair.
-
Hover over the created pair, then click on the right to delete the pair.
-
-
For the TLS information type of Secret, set the following parameters:
Parameter Description Certificate
TLS certificate.
Private Key
TLS private key.
-
For the Image registry information type of Secret, set the following parameters:
Parameter Description Registry Address
Address of the image registry. Click the dropdown list to choose either HTTP or HTTPS protocol.
Username
Username for accessing the image registry.
Email
Email of the user accessing the image registry.
Password
Password for accessing the image registry.
-
Click Validate to check if the password is correct.
-
Click / to show/hide the password.
Data
Key-value pair for accessing the image registry.
-
-
For the Username and password type of Secret, set the following parameters:
Parameter Description Username
User-defined username.
Password
User-defined password. Click / to show/hide the password.
-
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.