Kubernetes Elasticsearch 8.5.3 Statefulset (not ECK) set up username / password

How to automatically setup the password of the default user elastic and add other username/password for Elasticsearch 8.5.3 running on kubernetes cluster with manifests? I am not using ECK. Setting environment variable ELASTIC_PASSWORD doesn't work.

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