mirror of https://git.rancher.io/charts
26 lines
512 B
YAML
26 lines
512 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: fleet-agent-system-fleet-agent-role
|
|
rules:
|
|
- apiGroups:
|
|
- '*'
|
|
resources:
|
|
- '*'
|
|
verbs:
|
|
- '*'
|
|
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: fleet-agent-system-fleet-agent-role-binding
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: fleet-agent-system-fleet-agent-role
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: fleet-agent
|
|
namespace: {{.Release.Namespace}}
|