Update OpenSearch healthcheck to use HTTPS and include authentication

This commit is contained in:
Sean Whalen
2026-03-16 17:53:37 -04:00
parent 691b0fcd41
commit 81656c75e9
+1 -1
View File
@@ -48,7 +48,7 @@ services:
test:
[
"CMD-SHELL",
"curl -s -XGET http://localhost:9201/_cluster/health?pretty | grep status | grep -q '\\(green\\|yellow\\)'"
"curl -sk -u admin:${OPENSEARCH_INITIAL_ADMIN_PASSWORD} -XGET https://localhost:9200/_cluster/health?pretty | grep status | grep -q '\\(green\\|yellow\\)'"
]
interval: 10s
timeout: 10s