You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3f69f2f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: smoke/features/csi-driver-e2e.feature
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Feature: SharedSecrets and SharedConfigMap
41
41
| "openshift_csi_share_mount_failures_total" |
42
42
| "openshift_csi_share_mount_requests_total" |
43
43
Then the metrics value for configured resources should be "1"
44
-
44
+
45
45
@automated@slowest
46
46
Scenario: shared resource data gets removed if permission removed : CSI-01-TC03
47
47
Given user has created resource type with shared resource
@@ -65,9 +65,19 @@ Feature: SharedSecrets and SharedConfigMap
65
65
And creates a pod "my-csi-app-check" with a CSI volume citing the shared resource csi driver with read only true and requesting the previously defined "sharedsecret" in the Pod CSI volume's volume attributes
66
66
And edits secret "my-secret" data from the first project
67
67
Then pod "my-csi-app-check" in the second project should mount the data "hostpath" available in the "my-secret"
68
-
68
+
69
+
@automated
70
+
Scenario: Pod does not create if readonly set to false : CSI-01-TC05
71
+
Given user has cluster scoped level permission to create CRD "sharedsecrets.sharedresource.openshift.io"
72
+
When user creates the secret "my-secret" in a given namespace
73
+
And defines shared secret "my-shared-secret" that references the "my-secret" secret from the first project to share across all namespace
74
+
And creates another project that will access the cluster scoped shared secret that references the "my-secret" created in the first project
75
+
And RBAC for the service account to use the "sharedsecret" in its pod
76
+
And creates a pod "my-csi-app-check" with a CSI volume citing the shared resource csi driver with read only false and requesting the previously defined "sharedsecret" in the Pod CSI volume's volume attributes
@when(u'creates a pod {pod_name} with a CSI volume citing the shared resource csi driver with read only {permission} and requesting the previously defined {shared_resource} in the Pod CSI volume\'s volume attributes')
0 commit comments