chore: Add permissions to watch events (#1573)
* chore: Add permissions to watch events Signed-off-by: Anatolii Bazko <abazko@redhat.com>pull/1575/head
parent
871dcaef93
commit
04e016fa7b
|
|
@ -77,7 +77,7 @@ metadata:
|
|||
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
|
||||
repository: https://github.com/eclipse-che/che-operator
|
||||
support: Eclipse Foundation
|
||||
name: eclipse-che.v7.57.0-736.next
|
||||
name: eclipse-che.v7.58.0-737.next
|
||||
namespace: placeholder
|
||||
spec:
|
||||
apiservicedefinitions: {}
|
||||
|
|
@ -681,6 +681,7 @@ spec:
|
|||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
|
|
@ -1232,7 +1233,7 @@ spec:
|
|||
minKubeVersion: 1.19.0
|
||||
provider:
|
||||
name: Eclipse Foundation
|
||||
version: 7.57.0-736.next
|
||||
version: 7.58.0-737.next
|
||||
webhookdefinitions:
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
|
|
|
|||
|
|
@ -210,6 +210,7 @@ rules:
|
|||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
|
|
|
|||
|
|
@ -5438,6 +5438,7 @@ rules:
|
|||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
|
|
|
|||
|
|
@ -210,6 +210,7 @@ rules:
|
|||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
|
|
|
|||
|
|
@ -5438,6 +5438,7 @@ rules:
|
|||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
|
|
|
|||
|
|
@ -210,6 +210,7 @@ rules:
|
|||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
|
|
|
|||
|
|
@ -210,6 +210,7 @@ rules:
|
|||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
|
|
|
|||
|
|
@ -351,6 +351,11 @@ func (c *WorkspacePermissionsReconciler) getWorkspacesPolicies() []rbacv1.Policy
|
|||
Resources: []string{"namespaces"},
|
||||
Verbs: []string{"get", "list"},
|
||||
},
|
||||
{
|
||||
APIGroups: []string{""},
|
||||
Resources: []string{"events"},
|
||||
Verbs: []string{"watch", "list"},
|
||||
},
|
||||
}
|
||||
openshiftPolicies := []rbacv1.PolicyRule{
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue