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}}