timescale / helm-charts

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

Add permissions to Role in timescaledb-single, fixing #599 #601

Open geilername opened 1 year ago

geilername commented 1 year ago

What this PR does / why we need it

Add permission to create and modify services to the Role used in timescaledb-single chart.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer

Checklist

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

joschiwald commented 1 year ago

That issue is already fixed on patroni side. You could use the patroni-dcs-failsafe tags of the timescale/timescaledb-ha images, which uses a more current patroni version.

hongbo-miao commented 1 year ago

Thanks the information from @joschiwald ! 😃

I succeed using new patroni-dcs-failsafe tag by

helm upgrade \
  timescale \
  timescaledb-single \
  --install \
  --repo=https://charts.timescale.com \
  --namespace=my-timescale \
  --create-namespace \
  --values=my-values.yaml

my-values.yaml

image:
  repository: timescale/timescaledb-ha
  tag: pg15.2-ts2.10.2-patroni-dcs-failsafe-p0

without any errors.

So maybe just need fix by updating tag instead.