-
Notifications
You must be signed in to change notification settings - Fork 222
Chart deployment fails due to Patroni pgbackrest_restore.sh
error with PodSecurityPolicy
#492
Comments
This is/was most likely a bug in Patroni which was fixed with patroni/patroni#1132 & patroni/patroni#2390. We have merged the change to add these fixes into the timescaledb container image timescale/timescaledb-docker-ha#319 The image changes are currently in the process of being tested. We hope to have a release soon. |
Thanks! Does |
I don't know if the fix is part of |
Also, patroni/patroni#1132 is a different issue where the serviceAccount isn't authorized to create
|
The timescaledb container image with the fix has not been released yet. So there are currently no images to test with or to use until the team is ready to release it. As for the error message I believe it is the same code that is triggering it, but I am not really sure. It is a Patroni issue, so if you want to raise it there just to be through I don't think it would hurt. Otherwise for the time being you can work around this by following this timescale/timescaledb-docker-ha#319 (comment) and giving it access I will caution mainly due to their own documentation, it states that it does not need access to these API's in Kubernetes. |
@rituraj-AU |
Thanks for the update, Nick. I did some more digging and found out that there was actually a
The role:
Please feel free to close this issue. Thanks |
Awesome! Thanks for the info and happy you got it resolved! |
@nhudson it seems the new image only fix for the "static primary" which I assume only works for cluster that has one node. |
@zfy0701 yes I had thought we updated Patroni in our standard image. Looks like we are waiting on an update to Patroni in the Debian repos |
What happened?
Get the following error in all my timescale pods:
In addition, there is no Postgres server running either:
Did you expect to see something different?
Expected the pods to have no errors, and postgres server up and running.
How to reproduce it (as minimally and precisely as possible):
Environment
Development or Minikube. Same behaviour in both.
Which helm chart and what version are you using?
0.20.0
What is in your
values.yaml
?Here is my
values.yaml
Kubernetes cluster kind:
Tried both on minikube:
minikube start --memory 9216 --cpus 5 --disk-size 50g --driver hyperkit
As well as my company's existing kubernetes cluster
Anything else we need to know?:
No
The text was updated successfully, but these errors were encountered: