13 lines
358 B
YAML
13 lines
358 B
YAML
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRoleBinding
|
||
|
metadata:
|
||
|
name: {{ .Release.Name }}-clusterrolebinding
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: {{ include "json-server.serviceAccountName" . }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
roleRef:
|
||
|
kind: ClusterRole
|
||
|
name: {{ .Release.Name }}-clusterrole
|
||
|
apiGroup: rbac.authorization.k8s.io
|