Factory/metal3-chart/charts/baremetal-operator/templates/clusterrole-proxy.yaml

20 lines
397 B
YAML
Raw Normal View History

2024-10-22 09:51:51 +02:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "baremetal-operator.fullname" . }}-proxy-role
labels:
{{- include "baremetal-operator.labels" . | nindent 4 }}
rules:
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create