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
[FEATURE] Support Read only volumes (PVC/PV) and mounts #2575
Comments
We currently don't really support readonly volumes. |
Pre Ready-For-Testing Checklist
|
For testing you can add an e2e test that uses POD + Readonly PVC |
Can be tested together with #1859 |
Validation: PASSED Test(1): Create ReadOnly PVC
Test(2): Create ReadOnly PVC using a storage class that support PV encryption PASSED
|
Describe the bug
mounting a pvc fails when setting readOnly in volume settings
To Reproduce
pod is stuck in container creating:
with events
Expected behavior
volume mounted and pod running
Log
didn't see any relevent logs
Environment:
Additional context
setting readOnly in the container volumeMounts succeeds, but I'm working with a controller that hardcodes setting the readOnly option in the pvc settings
The text was updated successfully, but these errors were encountered: