15 lines
378 B
YAML
15 lines
378 B
YAML
kind: ClusterRoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: {{ template "rancher.fullname" . }}
|
|
labels:
|
|
{{ include "rancher.labels" . | indent 4 }}
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ template "rancher.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: cluster-admin
|
|
apiGroup: rbac.authorization.k8s.io
|