From eccef3bb0d95c8450e248efe871a2ad3d2c0e9dd Mon Sep 17 00:00:00 2001 From: Jonathan Wong Date: Tue, 26 Nov 2019 13:52:27 -0800 Subject: [PATCH] Add appropriate test for read only LocalVolume --- kyaml/kio/filters/container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kyaml/kio/filters/container_test.go b/kyaml/kio/filters/container_test.go index 67cbf6028..6dbc88beb 100644 --- a/kyaml/kio/filters/container_test.go +++ b/kyaml/kio/filters/container_test.go @@ -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