Skip to content

Commit

Permalink
Add app: stash label to user roles. (#493)
Browse files Browse the repository at this point in the history
This ensures that these roles are deleted when stash is uninstalled.
  • Loading branch information
tamalsaha authored May 22, 2018
1 parent 5ee7ff1 commit c7ae0d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/deploy/user-roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: ClusterRole
metadata:
name: appscode:stash:edit
labels:
app: stash
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
Expand All @@ -27,6 +28,7 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: appscode:stash:view
labels:
app: stash
rbac.authorization.k8s.io/aggregate-to-view: "true"
rules:
- apiGroups:
Expand Down

0 comments on commit c7ae0d4

Please sign in to comment.