Hi I wanted to know how should I automate the users file creation (file based authentication) with helm chart.
- Docs suggests to use elasticsearch-users cli, should I run an init container and run the script?
- Should I generate a users file locally then create a k8s secret and then mount it using secretMounts?
- Can I use esConfig: to add users?
- any better way which is more manageable?
Thanks
Rohit