--- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: agola rules: - apiGroups: - "" resources: - nodes - pods - pods/exec - configmaps - secrets verbs: - "*" - apiGroups: - "coordination.k8s.io" resources: - leases verbs: - "*"