fleet-charts/orchestrator/templates/rbac/metrics_auth_role.yaml (18 lines of code) (raw):
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: orchestra-metrics-auth-role
namespace: orchestra-system
rules:
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create