mirror of https://github.com/portainer/k8s.git
14 lines
397 B
YAML
14 lines
397 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: {{ include "portainer.fullname" . }}
|
|
labels:
|
|
{{- include "portainer.labels" . | nindent 4 }}
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: cluster-admin
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
namespace: {{ .Release.Namespace }}
|
|
name: {{ include "portainer.serviceAccountName" . }} |