Skip to content

Commit

Permalink
Update pvc_tests.go for 414
Browse files Browse the repository at this point in the history
  • Loading branch information
ambiknai authored Aug 22, 2023
1 parent 5a36edb commit 6cfaf9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/pvc_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ var _ = Describe("[ics-e2e] [sc] [with-pods] Dynamic Provisioning for all SC wit
})

It("with 5iops sc: should create a pvc & pv, pod resources, write and read to volume", func() {
payload := `{"metadata": {"labels": {"security.openshift.io/scc.podSecurityLabelSync": "false"}}}`
payload := `{"metadata": {"labels": {"security.openshift.io/scc.podSecurityLabelSync": "false","pod-security.kubernetes.io/enforce": "privileged"}}}`
_, labelerr := cs.CoreV1().Namespaces().Patch(context.TODO(), ns.Name, types.StrategicMergePatchType, []byte(payload), metav1.PatchOptions{})
if labelerr != nil {
panic(labelerr)
Expand Down

0 comments on commit 6cfaf9b

Please sign in to comment.