Updating the default administrator password
This topic provides the steps for updating the default administrator (wpsadmin) password.
Limitation
It is not possible to change the wpsadmin username at this time. However, you can update the wpsadmin password.
To update the default administrator password, refer to the following steps:
-
Create a secret with the new administrator password using the following command:
kubectl create secret generic CUSTOM_SECRET_NAME --from-literal=username=wpsadmin --from-literal=password=CUSTOM_ADMIN_PASSWORD --namespace=<NAMESPACE>Replace the values for the following: -
CUSTOM_SECRET_NAMEwith the name of the secret. -CUSTOM_ADMIN_PASSWORDwith the new administrator password. -
Update the
values.yamlfile with the secret name. See the following sample: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 administrator password. -
Make sure to either provide a
customWebEngineSecretor awebEngineUserandwebEnginePassword.
-
-
Do a Helm upgrade.
-
Restart the server to apply the updated password.
For adding other administrators and users with no administrator access, see configOverrideFiles.