diff --git a/charts/postgres-operator/templates/clusterrole.yaml b/charts/postgres-operator/templates/clusterrole.yaml index a24571cf1..25b19b89c 100644 --- a/charts/postgres-operator/templates/clusterrole.yaml +++ b/charts/postgres-operator/templates/clusterrole.yaml @@ -141,4 +141,15 @@ rules: - bind resourceNames: - {{ template "postgres-operator.fullname" . }} +- apiGroups: + - batch + resources: + - cronjobs # enables logical backups + verbs: + - create + - delete + - get + - list + - patch + - update {{ end }}