apiVersion: v1 kind: ServiceAccount metadata: name: botkube-sa namespace: botkube labels: app: botkube --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: botkube-clusterrole labels: app: botkube rules: - apiGroups: ["*"] resources: ["*"] verbs: ["get", "watch", "list"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: botkube-clusterrolebinding labels: app: botkube roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: botkube-clusterrole subjects: - kind: ServiceAccount name: botkube-sa namespace: botkube