[bitnami/airflow] Permission denied when trying to install Python packages
Name and Version
bitnami/airflow 22.7.3
What architecture are you using?
amd64
What steps will reproduce the bug?
- Add volumeMount and volumes for requirements.txt configMap with any package for worker component
- Disable readOnlyRootFilesystem for worker component
- Permission denied when trying to install package
Are you using any custom parameters or values?
Nothing custom related to security features
What is the expected behavior?
Python packages should be installed without permission errors
What do you see instead?
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied
Additional information
No response
Thank you for reporting this. We are evaluating how to improve the solution. In the meantime, you can take a look at this other issue to solve this problem
https://github.com/bitnami/charts/issues/30791#issuecomment-2573347865
Is there any progress on this? I'm struggling with the same issue as above, and I'm not able to make the fix in the linked work for me
I just created a PR to solve this error. I'll be testing the changes and will let you know when the changes are ready.
I just merged the changes after testing them. The new version of the chart should be available soon.
Please let us know if you find any issue.