Skip to content

Instantly share code, notes, and snippets.

@tadas-subonis
Created October 22, 2017 18:34
Show Gist options
  • Select an option

  • Save tadas-subonis/ec1551f4fb062432188e0574d2d2dedd to your computer and use it in GitHub Desktop.

Select an option

Save tadas-subonis/ec1551f4fb062432188e0574d2d2dedd to your computer and use it in GitHub Desktop.

Revisions

  1. tadas-subonis created this gist Oct 22, 2017.
    20 changes: 20 additions & 0 deletions role.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    apiVersion: rbac.authorization.k8s.io/v1beta1
    kind: ClusterRole
    metadata:
    annotations:
    rbac.authorization.kubernetes.io/autoupdate: "true"
    labels:
    kubernetes.io/bootstrapping: rbac-defaults
    name: system:kube-apiserver-to-kubelet
    rules:
    - apiGroups:
    - ""
    resources:
    - nodes/proxy
    - nodes/stats
    - nodes/log
    - nodes/spec
    - nodes/metrics
    verbs:
    - "*"