timescale / helm-charts

Configuration and Documentation to run TimescaleDB in your Kubernetes cluster
Apache License 2.0
261 stars 223 forks source link

`job-update-patroni` fails if http://{{ template "clusterName" . }}-config:8008/config is not ready, but it exits with success. #616

Open vortegatorres opened 11 months ago

vortegatorres commented 11 months ago

What happened?

job-update-patroni job fails if the http://{{ template "clusterName" . }}-config:8008/config service is not ready, but it exits with success.

https://github.com/timescale/helm-charts/blob/7ded6b654c956a3f6dc119d90b47a0262eba600e/charts/timescaledb-single/templates/job-update-patroni.yaml#L4

Did you expect to see something different?

Retry till http://{{ template "clusterName" . }}-config:8008/config service is ready.

How to reproduce it (as minimally and precisely as possible):

Start timescaledb-single with http://{{ template "clusterName" . }}-config:8008/config stopped, the job fails without waiting to be ready.

Environment

timescaledb-single version v0.33.1.

Default values.