-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cannot chmod
a read only filesystem
#26
Comments
yeah the code from the examples just doesnt work
using the eks 1.17 and the latest of cert-manager and cert-manager-csi
|
Same problem here. I deployed the given example. pod events
k version
|
Given that it does readonly bind mount (bind,ro), chown/chmod should fail afterwards. I changed code - removed 'ro' from mount options, and cert issuance succeeded,
|
@pb6 What do you change to have it working ? |
pkg/util/mount.go:102: options = append(options, "bind", "ro") remove "ro" and it will work, as you cannot chmod/chown read only filesystem. But I'm not sure if that is what authors intended. |
Fix read only file system problem from issue: cert-manager#26
I rebuilt the project from scratch, and republished the dockerfile, and this issue seems resolved. My image that I build from source: |
Bump helm version, improve install, add chart target
I get a
chmod
error:read-only file system
when using the CSI driver. This error was not there 3 months ago. The image hash that I see the problem is71845a27f96b
. The image that worked fine before was15fb01aae1da
. Both are tagged the samev0.1.0-alpha.1
.I have tried on k8s 1.16.7 and 1.17.7. Cert-Manager 0.13.1, 0.15 and today 0.16. The only constant is the CSI driver so I guess the error is here.
This is the pod that I'm using, pretty simple:
Here 's the log from the cert-manager-csi container. I tried to trace the error down to mount.go but I cannot understand who calls
chmod
. I am not familiar with Go language :(The text was updated successfully, but these errors were encountered: