opensearch-project / custom-codecs

OpenSearch custom lucene codecs for providing different on-disk index encoding (e.g., compression).
Apache License 2.0
6 stars 13 forks source link

[v2.12.0] Ensure CI/documentation reflect changes to default admin credentials #92

Closed derek-ho closed 5 months ago

derek-ho commented 6 months ago

Background

Previously, when installing the security plugin demo configuration, the cluster was spun up with the default admin credentials, admin:admin. A change was made in main and backported to 2.x for the 2.12.0 release, which now requires an initial admin password to be passed in via the environment variable OPENSEARCH_INITIAL_ADMIN_PASSWORD. This will break some CI/testing that relies on OpenSearch to come up without setting this environment variable. This tracking issue is to ensure compliance with the new changes.

Coming from: https://github.com/opensearch-project/security/issues/3624

Acceptance Criteria

andrross commented 5 months ago

Resolving as this plugin has no reliance on the default credentials (if running integration tests against a security enabled cluster, then username and password must be specified).

DarshitChanpura commented 5 months ago

@andrross This password is required for the setup also. Is the cluster setup for integ test calling demo config installation internally? If not, no changes are required if yes, then a password needs to be supplied as env variable.

andrross commented 5 months ago

@DarshitChanpura This plugin does not invoke the security demo config installation.