Skip to content

Commit

Permalink
Update all Solr users passwords to use the Solr default password solr…
Browse files Browse the repository at this point in the history
…Rocks for development/tests in docker
  • Loading branch information
liseli committed Sep 24, 2024
1 parent d47697c commit f2666c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,12 @@ because it is a Python module that receives the Solr URL
as a parameter.
You will have to pass the admin password to create collections and upload configsets.

If you start the Solr server in Docker, the admin password is defined in the security.json file and it
is the default password used by Solr (solrRocks).

If you start the Solr server in Kubernetes, the admin password is defined in the secrets.
```
export SOLR_PASSWORD='solr-admin-password'
export SOLR_PASSWORD=solrRocks
docker compose -f docker-compose.yml --profile solr_collection_manager up
```

Expand Down
2 changes: 1 addition & 1 deletion solr8.11.2_cloud/security.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"authentication":{
"blockUnknown": true,
"class":"solr.BasicAuthPlugin",
"credentials": {"admin":"gy10HvsTDlH3OoZ+lsxS8UheuD0LJqyTRw8OctFpZmU= SJmMK1JKEupUbbe2aY43C5bmm1nKQl7cF29nNfiayUE=","k8s-oper":"V0YSTxTD/bDZVBuRgkOlsT7PcJwxzSctfgbwtLLTeEs= t5ZNA5ccPjmujkYFnIxxXkoOny4n6Ljscc5N2zvGyZo=","solr":"1oOylpJqRIlSJvre+06ONKsYsVOFwaHB0vIr06Qm80E= ADFfaSwbSBYzy8HX2BLSfkQnGcuzsKu0xgO9hxJmX+o=","full_text":"V0YSTxTD/bDZVBuRgkOlsT7PcJwxzSctfgbwtLLTeEs= t5ZNA5ccPjmujkYFnIxxXkoOny4n6Ljscc5N2zvGyZo="},
"credentials": {"admin":"nHexNnZGuy6688sUvRUCWj9Xk0vF4bmxcjvPWMH7lkE= amE2ZzduMnZ1NHk2cjFyMw==","k8s-oper":"nHexNnZGuy6688sUvRUCWj9Xk0vF4bmxcjvPWMH7lkE= amE2ZzduMnZ1NHk2cjFyMw==","solr":"nHexNnZGuy6688sUvRUCWj9Xk0vF4bmxcjvPWMH7lkE= amE2ZzduMnZ1NHk2cjFyMw==","full_text":"nHexNnZGuy6688sUvRUCWj9Xk0vF4bmxcjvPWMH7lkE= amE2ZzduMnZ1NHk2cjFyMw=="},
"realm":"Solr Basic Auth",
"forwardCredentials": false
},
Expand Down

0 comments on commit f2666c3

Please sign in to comment.