How to create users for file based auth and deploy using Helm Chart

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?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.