For our use case we are using a security plugin "readonlyrest". It seems the elastic operator is not compatible with this plugin OOTB. The requests being made by the operator is being blocked by this plugin, and I see 401 unauthorized errors in the logs.
Is it possible for us to configure the credentials being used by the elasticsearch-client within the operator when it tries to connect to the elasticsearch cluster?
This is a complete blocker for us, and it's not easy to identify the operator pod (by IP or otherwise) so that we can grant admin access to the cluster to only the operator. But what we can do is configure a set of credentials for the operator in our clusters and pass those credentials to the operator (provided there is a way the operator accepts them).
Any guidance on this would be very helpful.