Skip to content

Instantly share code, notes, and snippets.

@hasbro17
Last active May 17, 2017 20:13
Show Gist options
  • Save hasbro17/4842c029cdc9d20a09782992afc31b2b to your computer and use it in GitHub Desktop.
Save hasbro17/4842c029cdc9d20a09782992afc31b2b to your computer and use it in GitHub Desktop.
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: "etcd-operator-default"
rules:
- apiGroups:
- etcd.coreos.com
resources:
- clusters
verbs:
- "*"
- apiGroups:
- extensions
resources:
- thirdpartyresources
verbs:
- create
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- create
- apiGroups:
- ""
resources:
- pods
- services
- endpoints
- persistentvolumeclaims
verbs:
- "*"
- apiGroups:
- apps
resources:
- deployments
verbs:
- "*"
- apiGroups:
- ""
resources:
- secrets
- configmaps
verbs:
- get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment