Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks
DarshitChanpura opened this issue Jan 23, 2024 · 3 comments
Closed
2 tasks
Assignees
Labels
untriaged v2.12.0 Issues targeting release v2.12.0

Comments

@DarshitChanpura
Copy link
Member

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: opensearch-project/security#3624

Acceptance Criteria

  • All documentation references to the old default credentials admin:admin are removed
  • Ensure that CI/testing is working with main and 2.x branches
@DarshitChanpura DarshitChanpura added the v2.12.0 Issues targeting release v2.12.0 label Jan 23, 2024
@xinyual
Copy link
Collaborator

xinyual commented Jan 24, 2024

I will take a look.

@xinyual
Copy link
Collaborator

xinyual commented Jan 24, 2024

Hi @DarshitChanpura , I have checked the current CI logic. ML-commons already generate a random password and set inside environment using -e

- name: Generate Password For Admin
. Do you think we need change anymore?

@DarshitChanpura
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged v2.12.0 Issues targeting release v2.12.0
Projects
Development

No branches or pull requests

2 participants