-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Choonho Son <[email protected]>
- Loading branch information
Choonho Son
committed
Jun 19, 2024
1 parent
c8a342d
commit 1194136
Showing
2 changed files
with
550 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: supervisor-plugin-control-role | ||
namespace: cloudforet-plugin | ||
rules: | ||
- apiGroups: | ||
- "*" | ||
resources: | ||
- replicaSets | ||
- pods | ||
- deployments | ||
- services | ||
- endpoints | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- delete | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: supervisor-role-binding | ||
namespace: cloudforet-plugin | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: supervisor-plugin-control-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: default | ||
namespace: cloudforet |
Oops, something went wrong.