give monitor cluster priveledge to the elastic role for the deploment
This commit is contained in:
parent
b094261136
commit
b94bb5ca43
|
@ -36,6 +36,7 @@ curl -XPUT "http://localhost:9200/opencdmp-descriptions-test" -u elastic:elastic
|
|||
|
||||
# Command to create the role
|
||||
curl -XPOST "localhost:9200/_security/role/opencdmp-api-test" -u elastic:elastic -H 'Content-Type: application/json' -d '{
|
||||
"cluster": ["monitor"],
|
||||
"indices": [
|
||||
{
|
||||
"names": [ "opencdmp-plans-test", "opencdmp-descriptions-test" ],
|
||||
|
|
Loading…
Reference in New Issue