Skip to content

Instantly share code, notes, and snippets.

@sumanthkumarc
Created January 8, 2022 17:04
Show Gist options
  • Save sumanthkumarc/c856b70b0556807a9a12ae4da0c05715 to your computer and use it in GitHub Desktop.
Save sumanthkumarc/c856b70b0556807a9a12ae4da0c05715 to your computer and use it in GitHub Desktop.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
name: view-role-extras
rules:
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- update
- create
- patch
- apiGroups:
- ""
resources:
- pods
- pods/log
- pods/attach
- pods/exec
- pods/portforward
- pods/proxy
verbs:
- '*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment