Skip to content

Instantly share code, notes, and snippets.

@zimmertr
Created October 30, 2019 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zimmertr/4c9dc9547e71067279c4127f7847e687 to your computer and use it in GitHub Desktop.
Save zimmertr/4c9dc9547e71067279c4127f7847e687 to your computer and use it in GitHub Desktop.
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: grafana-prometheus-scraper
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: grafana-prometheus-scraper
subjects:
- kind: ServiceAccount
name: grafana-prometheus-scraper
namespace: "{{ namespace }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment