Skip to content

Instantly share code, notes, and snippets.

@yindia
Created August 9, 2019 23:58
Show Gist options
  • Save yindia/6395da1c0786709cf0e38c676f39e2fd to your computer and use it in GitHub Desktop.
Save yindia/6395da1c0786709cf0e38c676f39e2fd to your computer and use it in GitHub Desktop.
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: prom-admin
rules:
# Just an example, feel free to change it
- apiGroups: [""]
resources: ["clusterRole", "clusterRoleBinding"]
verbs: ["get", "watch", "list", "create", "update", "patch", "delete"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment