Skip to content

Instantly share code, notes, and snippets.

@zimmertr
Created September 26, 2019 03:56
Show Gist options
  • Save zimmertr/3e131f7ede59c3bd816d757296bac45a to your computer and use it in GitHub Desktop.
Save zimmertr/3e131f7ede59c3bd816d757296bac45a to your computer and use it in GitHub Desktop.
$> kubectl get clusterrolebindings.rbac.authorization.k8s.io grafana-prometheus-scraper -oyaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: "2019-09-26T03:55:58Z"
name: grafana-prometheus-scraper
resourceVersion: "6968375"
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/grafana-prometheus-scraper
uid: 5538e448-0979-4749-a302-e76f8aae9f4e
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: grafana-prometheus-scraper
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User
name: grafana-prometheus-scraper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment