Skip to content

Commit

Permalink
Update mount.go
Browse files Browse the repository at this point in the history
Fix read only file system problem from issue: cert-manager#26
  • Loading branch information
Serk72 committed Feb 5, 2021
1 parent 4132849 commit efa9e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit efa9e37

Please sign in to comment.