Skip to content

Elastic8 - security #371

@CarlosFdez77

Description

@CarlosFdez77

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions