@@ -179,9 +179,21 @@ public void generatesCorrect_weblogicOperatorSecurityYaml_weblogicOperatorNamesp
179
179
.addApiGroupsItem ("" )
180
180
.resources (asList ("secrets" , "persistentvolumeclaims" ))
181
181
.verbs (asList ("get" , "list" , "watch" )))
182
+ .addRulesItem (newPolicyRule ()
183
+ .addApiGroupsItem ("storage.k8s.io" )
184
+ .addResourcesItem ("storageclasses" )
185
+ .verbs (asList ("get" , "list" , "watch" )))
182
186
.addRulesItem (newPolicyRule ()
183
187
.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" ))
185
197
.verbs (asList ("get" , "list" , "watch" , "create" , "update" , "patch" , "delete" , "deletecollection" )))));
186
198
}
187
199
0 commit comments