Skip to content

Commit

Permalink
add permissions on priorityclass to import controller (#588)
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Le <[email protected]>
  • Loading branch information
elgnay authored Feb 6, 2024
1 parent f2cf9a2 commit 5be6107
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
20 changes: 19 additions & 1 deletion bundle/manifests/multicluster-engine.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2024-01-25T08:27:07Z"
createdAt: "2024-02-06T11:49:16Z"
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
name: multicluster-engine.v0.0.1
Expand Down Expand Up @@ -1437,6 +1437,15 @@ spec:
- managedclustersets/join
verbs:
- create
- apiGroups:
- cluster.open-cluster-management.io
resources:
- placements
verbs:
- create
- get
- list
- watch
- apiGroups:
- cluster.open-cluster-management.io
resources:
Expand Down Expand Up @@ -2301,6 +2310,15 @@ spec:
- patch
- update
- watch
- apiGroups:
- scheduling.k8s.io
resources:
- priorityclasses
verbs:
- create
- get
- patch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down
9 changes: 9 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2241,6 +2241,15 @@ rules:
- patch
- update
- watch
- apiGroups:
- scheduling.k8s.io
resources:
- priorityclasses
verbs:
- create
- get
- patch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,12 @@ rules:
- subjectaccessreviews
verbs:
- create
- apiGroups:
- scheduling.k8s.io
resources:
- priorityclasses
verbs:
- get
- create
- patch
- update
1 change: 1 addition & 0 deletions pkg/templates/rbac_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5be6107

Please sign in to comment.