We are migrating ELK Version 7.17.0 to ECK Version 7.17.0 and we want to automate as much as we can the setup of the cluster. Is there a way whilst provisioning the ECK in the yaml manifets or init scripts we create custom roles and custom role_mappings so when we restore from ELK - their is less manual overhead ?
Its not possible to run a bash script which connects with api and create the roles ? Once elasticsearch starts ? If it is possible can you give me an example where and how we can implement it ? Thanks a lot