Skip to content

Commit fbe5391

Browse files
committed
Catch up to master, including updating the operator namespace cluster role test to match the new role definition
1 parent 7ef36f0 commit fbe5391

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/test/java/oracle/kubernetes/operator/create/CreateOperatorGeneratedFilesExtRestNoneDebugOffTest.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,21 @@ public void generatesCorrect_weblogicOperatorSecurityYaml_weblogicOperatorNamesp
179179
.addApiGroupsItem("")
180180
.resources(asList("secrets", "persistentvolumeclaims"))
181181
.verbs(asList("get", "list", "watch")))
182+
.addRulesItem(newPolicyRule()
183+
.addApiGroupsItem("storage.k8s.io")
184+
.addResourcesItem("storageclasses")
185+
.verbs(asList("get", "list", "watch")))
182186
.addRulesItem(newPolicyRule()
183187
.addApiGroupsItem("")
184-
.resources(asList("services", "pods", "networkpolicies"))
188+
.resources(asList("services", "configmaps", "pods", "jobs", "events"))
189+
.verbs(asList("get", "list", "watch", "create", "update", "patch", "delete", "deletecollection")))
190+
.addRulesItem(newPolicyRule()
191+
.addApiGroupsItem("settings.k8s.io")
192+
.addResourcesItem("podpresets")
193+
.verbs(asList("get", "list", "watch", "create", "update", "patch", "delete", "deletecollection")))
194+
.addRulesItem(newPolicyRule()
195+
.addApiGroupsItem("extensions")
196+
.resources(asList("podsecuritypolicies", "networkpolicies"))
185197
.verbs(asList("get", "list", "watch", "create", "update", "patch", "delete", "deletecollection")))));
186198
}
187199

0 commit comments

Comments
 (0)