Skip to content

Instantly share code, notes, and snippets.

@zimmertr
Created October 30, 2019 18:28
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/54281cb5cb5bfec3e8cbe25916c20529 to your computer and use it in GitHub Desktop.
Save zimmertr/54281cb5cb5bfec3e8cbe25916c20529 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