Skip to content

Instantly share code, notes, and snippets.

@abutcher
Created August 24, 2020 20:35
Show Gist options
  • Save abutcher/955c0bfb9d0617a81daf1e05bb416337 to your computer and use it in GitHub Desktop.
Save abutcher/955c0bfb9d0617a81daf1e05bb416337 to your computer and use it in GitHub Desktop.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"rbac.authorization.k8s.io/v1","kind":"ClusterRole","metadata":{"annotations":{},"name":"hive-admin","ownerReferences":[{"apiVersion":"hive.openshift.io/v1","blockOwnerDeletion":true,"kind":"HiveConfig","name":"hive","uid":"026966f0-4da1-428a-a96c-5bc1da082e7d"}]},"rules":[{"apiGroups":["batch"],"resources":["jobs"],"verbs":["get","list","watch"]},{"apiGroups":[""],"resources":["pods","pods/log"],"verbs":["get","list","watch"]},{"apiGroups":["hive.openshift.io"],"resources":["clusterdeployments","clusterprovisions","dnszones","machinepools","machinepoolnameleases","selectorsyncidentityproviders","syncidentityproviders","syncsets","syncsetinstances","clusterdeprovisions","clusterdeprovisionrequests","clusterstates"],"verbs":["get","list","watch"]},{"apiGroups":["hive.openshift.io"],"resources":["clusterimagesets","hiveconfigs","selectorsyncsets","selectorsyncidentityproviders"],"verbs":["get","list","watch","create","update","patch","delete"]},{"apiGroups":["admission.hive.openshift.io"],"resources":["clusterdeployments","clusterimagesets","clusterprovisions","dnszones","machinepools","selectorsyncsets","syncsets"],"verbs":["get","list","watch","create","update","patch","delete"]},{"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"],"verbs":["get","list","watch"]},{"apiGroups":["apiregistration.k8s.io"],"resources":["apiservices"],"verbs":["get","list","watch"]},{"apiGroups":["admissionregistration.k8s.io"],"resources":["mutatingwebhookconfigurations","validatingwebhookconfigurations"],"verbs":["get","list","watch"]}]}
creationTimestamp: "2020-08-20T19:24:45Z"
managedFields:
- apiVersion: rbac.authorization.k8s.io/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:kubectl.kubernetes.io/last-applied-configuration: {}
f:ownerReferences:
.: {}
k:{"uid":"026966f0-4da1-428a-a96c-5bc1da082e7d"}:
.: {}
f:apiVersion: {}
f:blockOwnerDeletion: {}
f:kind: {}
f:name: {}
f:uid: {}
f:rules: {}
manager: Go-http-client
operation: Update
time: "2020-08-20T19:24:45Z"
name: hive-admin
ownerReferences:
- apiVersion: hive.openshift.io/v1
blockOwnerDeletion: true
kind: HiveConfig
name: hive
uid: 026966f0-4da1-428a-a96c-5bc1da082e7d
resourceVersion: "4815642"
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/hive-admin
uid: fa4427e7-cddc-4a42-81b8-2a44a7728df8
rules:
- apiGroups:
- batch
resources:
- jobs
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
- pods/log
verbs:
- get
- list
- watch
- apiGroups:
- hive.openshift.io
resources:
- clusterdeployments
- clusterprovisions
- dnszones
- machinepools
- machinepoolnameleases
- selectorsyncidentityproviders
- syncidentityproviders
- syncsets
- syncsetinstances
- clusterdeprovisions
- clusterdeprovisionrequests
- clusterstates
verbs:
- get
- list
- watch
- apiGroups:
- hive.openshift.io
resources:
- clusterimagesets
- hiveconfigs
- selectorsyncsets
- selectorsyncidentityproviders
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- admission.hive.openshift.io
resources:
- clusterdeployments
- clusterimagesets
- clusterprovisions
- dnszones
- machinepools
- selectorsyncsets
- syncsets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- get
- list
- watch
- apiGroups:
- apiregistration.k8s.io
resources:
- apiservices
verbs:
- get
- list
- watch
- apiGroups:
- admissionregistration.k8s.io
resources:
- mutatingwebhookconfigurations
- validatingwebhookconfigurations
verbs:
- get
- list
- watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment