Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic8 - security #371

Open
CarlosFdez77 opened this issue Nov 28, 2023 · 3 comments
Open

Elastic8 - security #371

CarlosFdez77 opened this issue Nov 28, 2023 · 3 comments

Comments

@CarlosFdez77
Copy link

Expected Behavior

I have deployed the operator in k8s 1.26.
I have deployed an elasticsearch 8.11.1 cluster with security activated.

The operator cannot access the cluster, he needs the credentials. How can I add them in the operator? I can't locate the appropriate variables.

Actual Behavior

level=error msg="Failed to operate resource: failed to rescale StatefulSet: failed to drain pod es-operator-demo/es-data-simple-3: code status 401 - {"error":{"root_cause\ ":[{"type":"security_exception","reason":"missing authentication credentials for REST request

Steps to Reproduce the Problem

xpack.security.enabled: true

Specifications

  • Version: 0.1.4
  • Platform: kubernetes 1.26
  • Subsystem: ElasticSearch 8.11.1
@CarlosFdez77
Copy link
Author

If I can't use user credentials, can I use apiKeys?

@otrosien
Copy link
Member

Hey Carlos, unfortunately es-operator cannot cope with authorization at the moment, neither credentials nor api keys.

@CarlosFdez77
Copy link
Author

Hello Oliver, thank you very much for answering.
Too bad, we need to use the Elastic cluster from outside the kubernetes cluster and we need security. Any suggestions?
I understand that you use it only within the cluster.
Thanks again for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants