RBAC rules for activedirectoryidentityprovider

This commit is contained in:
Margo Crawford
2021-07-23 13:01:40 -07:00
parent 3b8edb84a5
commit be6f9f83ce
3 changed files with 23 additions and 1 deletions
@@ -184,6 +184,20 @@ func TestGetAPIResourceList(t *testing.T) {
Kind: "LDAPIdentityProvider",
Verbs: []string{"get", "patch", "update"},
},
{
Name: "activedirectoryidentityproviders",
SingularName: "activedirectoryidentityprovider",
Namespaced: true,
Kind: "ActiveDirectoryIdentityProvider",
Verbs: []string{"delete", "deletecollection", "get", "list", "patch", "create", "update", "watch"},
Categories: []string{"pinniped", "pinniped-idp", "pinniped-idps"},
},
{
Name: "activedirectoryidentityproviders/status",
Namespaced: true,
Kind: "ActiveDirectoryIdentityProvider",
Verbs: []string{"get", "patch", "update"},
},
},
},
},