Skip to content

Commit

Permalink
Add the space-manager and org-manager Cluster Roles
Browse files Browse the repository at this point in the history
Issue: #147
Co-authored-by: Kieron Browne <[email protected]>
  • Loading branch information
mnitchev and Kieron Browne committed Nov 15, 2021
1 parent c94f3d7 commit 6d2214a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions controllers/config/cf_roles/cf_org_user.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# The CF Organization Manager Role
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: organization-user
rules: []
6 changes: 6 additions & 0 deletions controllers/config/cf_roles/cf_space_manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# The CF Space Developer Role
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: space-manager
rules: []
2 changes: 2 additions & 0 deletions controllers/config/cf_roles/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
resources:
- cf_space_developer.yaml
- cf_space_manager.yaml
- cf_org_manager.yaml
- cf_org_user.yaml
12 changes: 12 additions & 0 deletions controllers/reference/cf-k8s-controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,12 @@ rules: []
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cf-k8s-controllers-organization-user
rules: []
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cf-k8s-controllers-proxy-role
rules:
Expand All @@ -1454,6 +1460,12 @@ metadata:
rules: []
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cf-k8s-controllers-space-manager
rules: []
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: cf-k8s-controllers-leader-election-rolebinding
Expand Down

0 comments on commit 6d2214a

Please sign in to comment.