Skip to content

Commit

Permalink
Add v2.x example
Browse files Browse the repository at this point in the history
Signed-off-by: Choonho Son <[email protected]>
  • Loading branch information
Choonho Son committed Jun 19, 2024
1 parent c8a342d commit 1194136
Show file tree
Hide file tree
Showing 2 changed files with 550 additions and 0 deletions.
35 changes: 35 additions & 0 deletions example-v2/rbac.yaml
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
Loading

0 comments on commit 1194136

Please sign in to comment.