rancher-partner-charts/charts/inaccel/fpga-operator/templates/cluster-role-binding.yaml

16 lines
352 B
YAML

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
{{- include "labels" $ | nindent 4 }}
name: {{ $.Chart.Name }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ $.Chart.Name }}
subjects:
- kind: ServiceAccount
name: {{ $.Chart.Name }}
namespace: {{ $.Release.Namespace }}