Updating the default administrator password
This topic provides the steps for updating the default administrator password.
Note
To change the administrator username, refer to Changing the default administrator user.
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.
Important
Your
custom-secret-namemust be in lowercase. Kubernetes Secret names are validated against RFC 1123 DNS subdomain rules, which strictly enforce lowercase alphanumeric characters, hyphens (-), or dots (.). -
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.
-
-
Perform a Helm upgrade.
-
Restart the server to apply the updated password.
For adding other administrators and users with no administrator access, refer to Configuring users or user groups.
HCLSoftware U learning materials
Note
Access HCLSoftware U resources for free. Log in or Sign up to get started. If you have further questions, Contact us or check the FAQ.
To learn how to do a traditional installation, go to Deployment for Intermediate Users. In this course, you will also learn about additional installation tasks that apply to both container-based and traditional deployments using the Configuration Wizard, DXClient, ConfigEngine, and more. You can try it out using the Deployment Lab and corresponding Deployment Lab Resources.