give monitor cluster priveledge to the elastic role for the deploment

This commit is contained in:
Alexandros Mandilaras 2024-05-20 13:57:50 +03:00
parent b094261136
commit b94bb5ca43
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ curl -XPUT "http://localhost:9200/opencdmp-descriptions-test" -u elastic:elastic
# Command to create the role # Command to create the role
curl -XPOST "localhost:9200/_security/role/opencdmp-api-test" -u elastic:elastic -H 'Content-Type: application/json' -d '{ curl -XPOST "localhost:9200/_security/role/opencdmp-api-test" -u elastic:elastic -H 'Content-Type: application/json' -d '{
"cluster": ["monitor"],
"indices": [ "indices": [
{ {
"names": [ "opencdmp-plans-test", "opencdmp-descriptions-test" ], "names": [ "opencdmp-plans-test", "opencdmp-descriptions-test" ],