From efa9e3795778b025d6d72090f96fc75e4ae8ffcf Mon Sep 17 00:00:00 2001 From: Serk72 <57951259+Serk72@users.noreply.github.com> Date: Fri, 5 Feb 2021 15:13:28 -0500 Subject: [PATCH] Update mount.go Fix read only file system problem from issue: https://github.com/jetstack/cert-manager-csi/issues/26 --- pkg/util/mount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/mount.go b/pkg/util/mount.go index ffa621d5..9ef53cd1 100644 --- a/pkg/util/mount.go +++ b/pkg/util/mount.go @@ -99,7 +99,7 @@ func makeMountArgs(source, target string, options []string) []string { // Build mount command as follows: // mount [-t $fstype] [-o $options] [$source] $target mountArgs := []string{} - options = append(options, "bind", "ro") + options = append(options, "bind") mountArgs = append(mountArgs, "-o", strings.Join(options, ",")) if len(source) > 0 { mountArgs = append(mountArgs, source)