From 25b5ad5150b249a7fd8d821e781ecc997cf2d1ae Mon Sep 17 00:00:00 2001 From: Prasad Krishnan <97734766+prasadkris@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:20:53 +0530 Subject: [PATCH 1/2] update clusterrole.yaml --- charts/postgres-operator/templates/clusterrole.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/postgres-operator/templates/clusterrole.yaml b/charts/postgres-operator/templates/clusterrole.yaml index d88affa0d..755551f2b 100644 --- a/charts/postgres-operator/templates/clusterrole.yaml +++ b/charts/postgres-operator/templates/clusterrole.yaml @@ -140,6 +140,7 @@ rules: - delete - get - list + - patch {{- if toString .Values.configKubernetes.storage_resize_mode | eq "pvc" }} - patch - update From 241fe4e858d5f80c2c3465045d83d9101c0b39e3 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Wed, 16 Oct 2024 17:15:41 +0200 Subject: [PATCH 2/2] Update charts/postgres-operator/templates/clusterrole.yaml --- charts/postgres-operator/templates/clusterrole.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/postgres-operator/templates/clusterrole.yaml b/charts/postgres-operator/templates/clusterrole.yaml index 755551f2b..1fd066fa5 100644 --- a/charts/postgres-operator/templates/clusterrole.yaml +++ b/charts/postgres-operator/templates/clusterrole.yaml @@ -142,7 +142,6 @@ rules: - list - patch {{- if toString .Values.configKubernetes.storage_resize_mode | eq "pvc" }} - - patch - update {{- end }} # to read existing PVs. Creation should be done via dynamic provisioning