Skip to content

Commit

Permalink
adding edit perms for dedicated-admins
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyary committed Nov 4, 2021
1 parent 2677174 commit b9d63ee
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
creationTimestamp: null
name: dbaas-operator-edit-dedicated-admins
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: edit
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: dedicated-admins
13 changes: 13 additions & 0 deletions config/rbac/dedicated_admin_namespace_edit_role_binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: edit-dedicated-admins
namespace: redhat-dbaas-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: edit
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: dedicated-admins
1 change: 1 addition & 0 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ resources:
- dbaasprovider_viewer_role.yaml
- dbaasprovider_viewer_role_binding.yaml
- dbaasconnection_viewer_role.yaml
- dedicated_admin_namespace_edit_role_binding.yaml
# Comment the following 4 lines if you want to disable
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
# which protects your /metrics endpoint.
Expand Down

0 comments on commit b9d63ee

Please sign in to comment.