Skip to content

Commit

Permalink
feat(RBAC): Role Aggregation
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur <[email protected]>
  • Loading branch information
ArthurVardevanyan committed Jan 18, 2025
1 parent 7d94acf commit ce55a1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/rbac/dragonfly_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ metadata:
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/part-of: dragonfly-operator
app.kubernetes.io/managed-by: kustomize
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
name: dragonfly-editor-role
rules:
- apiGroups:
Expand Down
4 changes: 4 additions & 0 deletions config/rbac/dragonfly_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ metadata:
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/part-of: dragonfly-operator
app.kubernetes.io/managed-by: kustomize
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rbac.authorization.k8s.io/aggregate-to-view: "true"
rbac.authorization.k8s.io/aggregate-to-cluster-reader: "true"
name: dragonfly-viewer-role
rules:
- apiGroups:
Expand Down
2 changes: 2 additions & 0 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ resources:
- auth_proxy_role.yaml
- auth_proxy_role_binding.yaml
- auth_proxy_client_clusterrole.yaml
- dragonfly_viewer_role.yaml
- dragonfly_editor_role.yaml

0 comments on commit ce55a1b

Please sign in to comment.