-
-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] local-path-provisioner creating directory with insufficent rights for postgresql #743
Comments
I think I have the same permission issue with all my charts since I updated from 4.4.7 to 4.4.8. As a workaround I can manually change permissions of pvc-* folders in volume configured for k3s/storage. k3d installed with option All folder created in |
Hi, for a non manual workaround I did edit the config map. @hcoatanhay
Then change the permission in the line with:
|
@FP-Guitar thanks for the tip, but it seems that the configmap is overwritten at cluster startup. |
Hi @FP-Guitar , thanks for opening this issue and also providing a workaround already! 👍 Feel free to reopen this issue if you feel like k3d could do something here. |
Thanks for answering that fast. I wasn't aware that k3d and k3s are completely separated things. |
@FP-Guitar , I actually went through everything again and it seems like the bug was fixed in k3d v1.21.4 already: https://github.com/k3s-io/k3s/releases/tag/v1.21.4%2Bk3s1
Bitnami built tools typically run as non-root, that's why deployments from there failed first with this. Here's the full path to follow the train of thoughts:
k3d just leverages K3s in containers, but it's a community-driven project, so it's not involved in any planning on K3s side and there are no full-time Rancher/SUSE employees assigned to k3d. |
Thank you very much. So thanks again for taking a second look and doing the information collecting for me. These are good news for me. |
What did you do
I started a three server/three agent cluster on Ubuntu Server and deployed the bitnami/postgresql helm chart as part of a complex Pulumi setup. Setup failed with
Similar errors on other components. Deployment works fine on Azure.
Used kubectl describe to find mount path inside
-> PostgresQL now working as expected.
Investigated the provided local-path-config using:
Problem is in line before teardown:
This is different from example config from https://github.com/rancher/local-path-provisioner
What did you expect to happen
PostgresQL coming up without errors.
Which OS & Architecture
Which version of
k3d
Which version of docker
The text was updated successfully, but these errors were encountered: