Unverified Commit f68eb1e1 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #60804 from sbezverk/e2e_csi_test

Automatic merge from submit-queue (batch tested with PRs 60679, 60804). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fixing e2e CSI test Closes #60803 After switching to CSI 0.2.0 spec, additional RBAC permissions are required. This PR adds missing permissions. ```release-note None ```
parents 24717190 2ae33cc3
...@@ -94,6 +94,16 @@ func csiClusterRole( ...@@ -94,6 +94,16 @@ func csiClusterRole(
}, },
{ {
APIGroups: []string{""}, APIGroups: []string{""},
Resources: []string{"events"},
Verbs: []string{"get", "list", "watch", "creat", "update", "patch"},
},
{
APIGroups: []string{""},
Resources: []string{"secrets"},
Verbs: []string{"get", "list"},
},
{
APIGroups: []string{""},
Resources: []string{"nodes"}, Resources: []string{"nodes"},
Verbs: []string{"get", "list", "watch", "update"}, Verbs: []string{"get", "list", "watch", "update"},
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment