From faf668bfa3613c71ac09343c0d336f2a318a83d1 Mon Sep 17 00:00:00 2001 From: Sergey Dudoladov Date: Thu, 16 May 2019 15:43:56 +0200 Subject: [PATCH] fix helm chart --- charts/postgres-operator/templates/clusterrole.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 }}