diff --git a/charts/tidb-operator/templates/controller-manager-rbac.yaml b/charts/tidb-operator/templates/controller-manager-rbac.yaml index cc5d9ba19c..e91ef1818d 100644 --- a/charts/tidb-operator/templates/controller-manager-rbac.yaml +++ b/charts/tidb-operator/templates/controller-manager-rbac.yaml @@ -29,7 +29,7 @@ rules: verbs: ["*"] - apiGroups: [""] resources: ["endpoints"] - verbs: ["create", "get", "update"] + verbs: ["create", "get", "list", "watch", "update"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update", "delete"] @@ -88,7 +88,7 @@ rules: verbs: ["*"] - apiGroups: [""] resources: ["endpoints"] - verbs: ["create", "get", "update"] + verbs: ["create", "get", "list", "watch", "update"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update", "delete"]