rancher-charts/charts/longhorn/101.1.0+up1.3.2/templates/clusterrolebinding.yaml

14 lines
359 B
YAML
Raw Normal View History

2022-11-17 20:16:15 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: longhorn-bind
labels: {{- include "longhorn.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: longhorn-role
subjects:
- kind: ServiceAccount
name: longhorn-service-account
namespace: {{ include "release_namespace" . }}