Update Default Admin Password
Current Limitation
It is not possible to change the wpsadmin username at this time. The password can be updated.
Overview
This document provides a snippet for updating the Default Admin password.
Steps to Update Default Admin Password
-
Create a secret with the new admin password:
Replace the following:kubectl create secret generic CUSTOM_SECRET_NAME --from-literal=username=wpsadmin --from-literal=password=CUSTOM_ADMIN_PASSWORD --namespace=dxnsCUSTOM_SECRET_NAMEwith the name of the secret.CUSTOM_ADMIN_PASSWORDwith the new admin password.
-
Update the
values.yamlfile with secret name and do a Helm upgrade.security: webEngine: webEngineUser: "wpsadmin" webEnginePassword: "WEB_ENGINE_PASSWORD" customWebEngineSecret: "CUSTOM_SECRET_NAME"-
Replace
CUSTOM_SECRET_NAMEwith the name of the secret created in step 1. -
Replace
WEB_ENGINE_PASSWORDwith the new admin password. -
Make sure either provide
customWebEngineSecretorwebEngineUser&webEnginePassword.
-
Note: To apply the updated password, a server restart is required.
Refer to this for adding other admin and non-admin user: configOverrideFiles.