Skip to content

Commit

Permalink
Add label to installer objects in rbac mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Oct 10, 2017
1 parent fad1477 commit 041e109
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hack/deploy/with-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
labels:
app: stash
name: stash-operator
rules:
- apiGroups:
Expand Down Expand Up @@ -57,6 +59,8 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
labels:
app: stash
name: stash-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -70,6 +74,8 @@ subjects:
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app: stash
name: stash-operator
namespace: kube-system
---
Expand Down Expand Up @@ -148,9 +154,9 @@ spec:
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: stash-sidecar
labels:
app: stash
name: stash-sidecar
rules:
- apiGroups:
- stash.appscode.com
Expand Down

0 comments on commit 041e109

Please sign in to comment.