From b738283f6fb31087141b0ae5c958e455d83c1116 Mon Sep 17 00:00:00 2001 From: Emre Hasegeli Date: Wed, 23 Oct 2019 10:22:23 +0100 Subject: [PATCH] charts: Add pods/exec permission (#694) --- charts/postgres-operator/templates/clusterrole.yaml | 6 ++++++ manifests/operator-service-account-rbac.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/charts/postgres-operator/templates/clusterrole.yaml b/charts/postgres-operator/templates/clusterrole.yaml index a00ea3ab7..f8550a539 100644 --- a/charts/postgres-operator/templates/clusterrole.yaml +++ b/charts/postgres-operator/templates/clusterrole.yaml @@ -87,6 +87,12 @@ rules: - list - watch - patch +- apiGroups: + - "" + resources: + - pods/exec + verbs: + - create - apiGroups: - "" resources: diff --git a/manifests/operator-service-account-rbac.yaml b/manifests/operator-service-account-rbac.yaml index bca1128f4..e95fe320b 100644 --- a/manifests/operator-service-account-rbac.yaml +++ b/manifests/operator-service-account-rbac.yaml @@ -88,6 +88,12 @@ rules: - list - watch - patch +- apiGroups: + - "" + resources: + - pods/exec + verbs: + - create - apiGroups: - "" resources: