You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use ECK Operator to run an external elasticsearch instance. I want to supply elasticsearch password using the existingSecret key and have all temporal components/jobs/containers pick it up.
Describe the bug
ECK creates a kubernetes secret for credentials. When I supply the secret to temporal values, The temporal-schema job runs fine, but check-elasticsearch-index init containers in all components(frontend, history, matching and worker) keep reporting waiting for elasticsearch index to become ready indefinitely. Looking at the curl command resulting from the templates, it does not include the elasticsearch credentials as it expects the username and password to be provided as plaintext.
What are you really trying to do?
I use ECK Operator to run an external elasticsearch instance. I want to supply elasticsearch password using the
existingSecret
key and have all temporal components/jobs/containers pick it up.Describe the bug
ECK creates a kubernetes secret for credentials. When I supply the secret to temporal values, The
temporal-schema
job runs fine, butcheck-elasticsearch-index
init containers in all components(frontend, history, matching and worker) keep reportingwaiting for elasticsearch index to become ready
indefinitely. Looking at the curl command resulting from the templates, it does not include the elasticsearch credentials as it expects the username and password to be provided as plaintext.I use the following config for elasticsearch:
I believe this the culprit:
templates/server-deployment.yaml
This curl command template does not take credentials from
existingSecret
into consideration.Minimal Reproduction
temporal-schema
job runs finecheck-elasticsearch-index
init container get stuck since elasticsearch does not get the required creds from curl command.Environment/Versions
Additional context
Happy to provide in comments if required.
The text was updated successfully, but these errors were encountered: