Skip to content

Commit

Permalink
Merge pull request #59 from kawych/master
Browse files Browse the repository at this point in the history
Fix setup for Custom Metrics - Stackdriver Adapter in GKE
  • Loading branch information
kawych authored Oct 23, 2017
2 parents be8c8f4 + fea304c commit 4675cc3
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions custom-metrics-stackdriver-adapter/adapter-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,13 @@ subjects:
namespace: custom-metrics
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: custom-metrics-resource-reader
rules:
- apiGroups:
- ""
resources:
- namespaces
- pods
- services
verbs:
- get
- list
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: custom-metrics-resource-reader
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: custom-metrics-resource-reader
name: view
subjects:
- kind: ServiceAccount
name: custom-metrics-stackdriver-adapter
Expand Down

0 comments on commit 4675cc3

Please sign in to comment.