Skip to content

Commit 2620d7f

Browse files
fix: Change env var disabling OpenSearch security plugin (#773)
This closes #772 --------- Co-authored-by: David Ankin <[email protected]>
1 parent b1642e9 commit 2620d7f

File tree

1 file changed

+1
-1
lines changed
  • modules/opensearch/testcontainers/opensearch

1 file changed

+1
-1
lines changed

modules/opensearch/testcontainers/opensearch/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __init__(
5757

5858
self.with_exposed_ports(self.port)
5959
self.with_env("discovery.type", "single-node")
60-
self.with_env("plugins.security.disabled", "false" if security_enabled else "true")
60+
self.with_env("DISABLE_SECURITY_PLUGIN", "false" if security_enabled else "true")
6161
if self._supports_initial_admin_password(str(image)):
6262
self.with_env("OPENSEARCH_INITIAL_ADMIN_PASSWORD", self.initial_admin_password)
6363
if security_enabled:

0 commit comments

Comments
 (0)