Skip to content

Commit

Permalink
Update chart to add roles for CRD (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha authored Sep 26, 2017
1 parent c8f79d2 commit ab7b317
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion chart/searchlight/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,18 @@ metadata:
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
rules:
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- "*"
- apiGroups:
- extensions
resources:
- thirdpartyresources
verbs: ["get", "create"]
verbs:
- "*"
- apiGroups:
- monitoring.appscode.com
resources: ["*"]
Expand Down
9 changes: 8 additions & 1 deletion hack/deploy/with-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ rules:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs: ["get", "create"]
verbs:
- "*"
- apiGroups:
- extensions
resources:
- thirdpartyresources
verbs:
- "*"
- apiGroups:
- monitoring.appscode.com
resources: ["*"]
Expand Down

0 comments on commit ab7b317

Please sign in to comment.