Skip to content

Commit

Permalink
Merge pull request #161 from octarinesec/temp-5.6.2-merge
Browse files Browse the repository at this point in the history
Merge back 5.6.2 into main
  • Loading branch information
kkadosh-vmware authored Jun 28, 2023
2 parents 18a48f6 + 593d4e9 commit 6db1c85
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cbcontainers/state/components/enforcer_mutating_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ func (obj *EnforcerMutatingWebhookK8sObject) getResourcesList() []string {
"cronjobs",
"ingresses",
"customresourcedefinitions",
"deploymentconfigs",
"routes",
}
}

Expand Down
2 changes: 2 additions & 0 deletions cbcontainers/state/components/enforcer_validating_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ func (obj *EnforcerValidatingWebhookK8sObject) getResourcesList() []string {
"cronjobs",
"ingresses",
"customresourcedefinitions",
"deploymentconfigs",
"routes",
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ rules:
- networking.k8s.io
- rbac
- rbac.authorization.k8s.io
- apps.openshift.io
- route.openshift.io
resources:
- clusterrolebindings
- cronjobs
Expand All @@ -97,6 +99,8 @@ rules:
- rolebindings
- services
- statefulsets
- deploymentconfigs
- routes
verbs:
- watch
---
Expand Down
4 changes: 4 additions & 0 deletions config/rbac/dataplane_roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ rules:
- networking.k8s.io
- rbac
- rbac.authorization.k8s.io
- apps.openshift.io
- route.openshift.io
resources:
- clusterrolebindings
- cronjobs
Expand All @@ -111,5 +113,7 @@ rules:
- rolebindings
- services
- statefulsets
- deploymentconfigs
- routes
verbs:
- watch

0 comments on commit 6db1c85

Please sign in to comment.