We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db3a09 commit 0d9c820Copy full SHA for 0d9c820
test/e2e/storage/testsuites/subpath.go
@@ -686,8 +686,14 @@ func setWriteCommand(file string, container *v1.Container) {
686
container.Args = []string{
687
"mounttest",
688
fmt.Sprintf("--new_file_0644=%v", file),
689
- fmt.Sprintf("--file_mode=%v", file),
690
}
+ // See issue https://github.com/kubernetes/kubernetes/issues/94237 about file_mode
691
+ // not working well on Windows
692
+ // TODO: remove this check after issue is resolved
693
+ if !framework.NodeOSDistroIs("windows") {
694
+ container.Args = append(container.Args, fmt.Sprintf("--file_mode=%v", file))
695
+ }
696
+
697
698
699
func addSubpathVolumeContainer(container *v1.Container, volumeMount v1.VolumeMount) {
0 commit comments