Add appropriate test for read only LocalVolume

This commit is contained in:
Jonathan Wong
2019-11-26 13:52:27 -08:00
parent 7eaaedf9f6
commit eccef3bb0d

View File

@@ -125,7 +125,7 @@ metadata:
"--network", "none",
"--user", "nobody",
"--security-opt=no-new-privileges",
"--mount", fmt.Sprintf("'type=volume,src=%s,dst=/local/'", "myvol"),
"--mount", fmt.Sprintf("'type=volume,src=%s,dst=/local/:ro'", "myvol"),
}
for _, e := range os.Environ() {
// the process env