Skip to content

[Bug] Elasticsearch jobs/ checks fail for clusters with no users auth #731

@quangngotan95

Description

@quangngotan95

What are you really trying to do?

I'm trying to install Temporal with the Charts.
It's failing for ES cluster with no auth (no username/ password required)

Describe the bug

For ES cluster with no auth (no username/ password required), it'll fail since we always have --user "$ES_USER:$ES_PWD" in our curl`

command: ['sh', '-c', 'until curl --silent --fail --user "$ES_USER:$ES_PWD" $ES_SCHEME://$ES_HOST:$ES_PORT 2>&1 > /dev/null; do echo waiting for elasticsearch to start; sleep 1; done;']

Reverting to checks before this change would resolve it.

Minimal Reproduction

Install the Charts with ES store but do not supply username and password

Environment/Versions

Charts Version: 0.64.0

  • OS and processor: [e.g. M1 Mac, x86 Windows, Linux]
  • Temporal Version: [e.g. 1.14.0?] and/or SDK version
  • Are you using Docker or Kubernetes or building Temporal from source?

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions