Skip to content

Instantly share code, notes, and snippets.

@zommarin
Created October 25, 2017 20:17
Show Gist options
  • Save zommarin/e8136e6203593928e16dcb2b0b92b9e1 to your computer and use it in GitHub Desktop.
Save zommarin/e8136e6203593928e16dcb2b0b92b9e1 to your computer and use it in GitHub Desktop.
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
annotations:
rbac.authorization.kubernetes.io/autoupdate: "true"
labels:
kubernetes.io/bootstrapping: rbac-defaults
name: system:controller:bootstrap-signer
namespace: kube-public
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- ""
resourceNames:
- cluster-info
resources:
- configmaps
verbs:
- update
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment