Skip to content

Commit 60981e5

Browse files
Setting allowHostDirVolumePlugin to true, which enables host paths to be mounted as a volume in OCP windows node
1 parent 5ea56e7 commit 60981e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/k8s_client/yaml_factory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,7 @@ metadata:
16561656
name: {SCC}
16571657
{LABELS}
16581658
{OWNER_REF}
1659-
allowHostDirVolumePlugin: false
1659+
allowHostDirVolumePlugin: true
16601660
allowHostIPC: false
16611661
allowHostNetwork: false
16621662
allowHostPID: false

cli/k8s_client/yaml_factory_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ func TestGetOpenShiftSCCYAML_UnprivilegedUser(t *testing.T) {
14511451
},
14521452
},
14531453
},
1454-
AllowHostDirVolumePlugin: false,
1454+
AllowHostDirVolumePlugin: true,
14551455
AllowHostIPC: false,
14561456
AllowHostNetwork: false,
14571457
AllowHostPID: false,

0 commit comments

Comments
 (0)