7
7
# Export the TEST_SUITE variable, eg. 'free' or 'platinum' defaults to 'free'.
8
8
# Export the NUMBER_OF_NODES variable to start more than 1 node
9
9
10
- # Version 1.5.0
10
+ # Version 1.5.1
11
11
# - Initial version of the run-elasticsearch.sh script
12
12
# - Deleting the volume should not dependent on the container still running
13
13
# - Fixed `ES_JAVA_OPTS` config
18
18
# - Added flags to make local CCR configurations work
19
19
# - Added action.destructive_requires_name=false as the default will be true in v8
20
20
# - Added ingest.geoip.downloader.enabled=false as it causes false positives in testing
21
- # - Moved ELASTIC_PASSWORD to the base arguments for "Security On by default"
21
+ # - Moved ELASTIC_PASSWORD and xpack.security.enabled to the base arguments for "Security On by default"
22
22
23
23
script_path=$( dirname $( realpath -s $0 ) )
24
24
source $script_path /functions/imports.sh
@@ -33,6 +33,7 @@ cluster_name=${moniker}${suffix}
33
33
declare -a volumes
34
34
environment=($( cat << -END
35
35
--env ELASTIC_PASSWORD=$elastic_password
36
+ --env xpack.security.enabled=true
36
37
--env node.name=$es_node_name
37
38
--env cluster.name=$cluster_name
38
39
--env cluster.initial_master_nodes=$master_node_name
48
49
) )
49
50
if [[ " $TEST_SUITE " == " platinum" ]]; then
50
51
environment+=($( cat << -END
51
- --env ELASTIC_PASSWORD=$elastic_password
52
52
--env xpack.license.self_generated.type=trial
53
- --env xpack.security.enabled=true
54
53
--env xpack.security.http.ssl.enabled=true
55
54
--env xpack.security.http.ssl.verification_mode=certificate
56
55
--env xpack.security.http.ssl.key=certs/testnode.key
0 commit comments