From 64f17affa8e250391b06e22874bf3439857c26df Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Mon, 18 Dec 2023 16:33:06 -0500 Subject: [PATCH] Remove reference to default credentials Signed-off-by: Derek Ho --- .github/actions/opensearch/run.sh | 3 ++- .github/workflows/compatibility.yml | 2 +- .github/workflows/main.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/opensearch/run.sh b/.github/actions/opensearch/run.sh index ee41c1f8b..5f5ef5389 100755 --- a/.github/actions/opensearch/run.sh +++ b/.github/actions/opensearch/run.sh @@ -32,6 +32,7 @@ do --env "ES_JAVA_OPTS=-Xms1g -Xmx1g" \ --env "http.port=${port}" \ --env "action.destructive_requires_name=false" \ + --env "OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123!" \ --env "plugins.security.disabled=${DISABLE_SECURITY}" \ --ulimit nofile=65536:65536 \ --ulimit memlock=-1:-1 \ @@ -66,7 +67,7 @@ else --show-error \ --silent \ --insecure \ - https://admin:admin@os1:$PORT + https://admin:myStrongPassword123!@os1:$PORT fi sleep 10 diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index a8a25b3e7..0616844a4 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -47,7 +47,7 @@ jobs: test-opensearch-security: env: - TEST_OPENSEARCH_SERVER: https://admin:admin@localhost:9200 + TEST_OPENSEARCH_SERVER: https://admin:myStrongPassword123!@localhost:9200 PORT: 9200 strategy: fail-fast: false diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4db8462a..921e94078 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,7 +82,7 @@ jobs: test-opensearch-security: env: - TEST_OPENSEARCH_SERVER: https://admin:admin@localhost:9200 + TEST_OPENSEARCH_SERVER: https://admin:myStrongPassword123!@localhost:9200 PORT: 9200 strategy: fail-fast: false