You can roll back DevOps Plan to
the previous release using the helm rollback command.
About this task
The default OpenSearch and OpenSearch Dashboards password is set to
admin. You can update the default password by using the following
steps:
Procedure
-
Create a new password hash for OpenSearch.
$ docker run -d --name devopsplan-opensearch --env "discovery.type=single-node" hclcr.io/devops-plan/devopsplan-opensearch:3.0.01
$ docker exec -it devopsplan-opensearch /bin/bash -c /usr/share/opensearch/plugins/opensearch-security/tools/hash.sh
-
You will be prompted for the new password. Enter the new password. The password hash
will be generated. For example:
[Password:] myNewPassword
$2y$12$3UScOsDk1bCjHk4Jd/p9vuCzgVqrU05h1w4F5VFZCCFhgoF1/vwvO
-
You can stop and remove the
devopsplan-opensearch container after you generate
the password hash.
$ docker stop devopsplan-opensearch
$ docker rm devopsplan-opensearch
-
Create a file named opensearch-user.yaml. Set the new OpenSearch
Dashboards password and new OpenSearch password hash.
```yaml
dashboards:
password: [NEW_OPENSEARCH_DASHBOARDS_PASSWORD]
opensearch:
hash: [NEW_OPENSEARCH_HASH_PASSWORD]
```
-
Add
-f opensearch-user.yaml to the helm install
command.