Browse Source

Add cluster def link to CONTRIBUTING.md (#102979)

Alexander Spies 1 year ago
parent
commit
2703b802c8
1 changed files with 10 additions and 0 deletions
  1. 10 0
      CONTRIBUTING.md

+ 10 - 0
CONTRIBUTING.md

@@ -138,6 +138,16 @@ and then run `curl` in another window like this:
 
     curl -u elastic:password localhost:9200
 
+To send requests to this Elasticsearch instance, either use the built-in `elastic`
+user and password as above or use the pre-configured `elastic-admin` user:
+
+    curl -u elastic-admin:elastic-password localhost:9200
+
+Security can also be disabled altogether:
+
+    ./gradlew :run -Dtests.es.xpack.security.enabled=false
+
+The definition of this Elasticsearch cluster can be found [here](build-tools-internal/src/main/groovy/elasticsearch.run.gradle).
 
 ### Importing the project into IntelliJ IDEA