apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: janny rules: - apiGroups: - "" resources: - pods - services - configmaps verbs: - get - list - watch - delete - apiGroups: - apps resources: - deployments - daemonsets - statefulsets - replicasets - controllerrevisions verbs: - get - list - watch - delete - apiGroups: - batch resources: - jobs verbs: - get - list - watch - delete