timescale / helm-charts

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

timescaledb-single: Remove permission to create services #398

Closed onprem closed 2 years ago

onprem commented 2 years ago

This commit removes the permission to create services from the timescaledb role. The headless service is created by the helm chart itself, so the permission is not required in our case.

This works but causes a spam of ERROR: create_config_service failed in patroni logs. There is already an open issue about this on Patroni's repo zalando/patroni#1132, which once tackled will solve the log spam problem.

This PR also fixes the race in service deletion as reported in #397.

Signed-off-by: Prem Saraswat prmsrswt@gmail.com