From ae98166c2287c46527ce75e059e10b993cefc199 Mon Sep 17 00:00:00 2001 From: Kalya Subramanian Date: Thu, 10 Jun 2021 09:02:02 -0400 Subject: [PATCH] charts/osm-rbac: add delete verb for secrets Signed-off-by: Kalya Subramanian --- charts/osm/templates/osm-rbac.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/osm/templates/osm-rbac.yaml b/charts/osm/templates/osm-rbac.yaml index d953748b9c..53ae5c5a4a 100644 --- a/charts/osm/templates/osm-rbac.yaml +++ b/charts/osm/templates/osm-rbac.yaml @@ -98,7 +98,10 @@ rules: resources: ["events"] verbs: ["create", "watch"] - apiGroups: [""] - resources: ["secrets", "configmaps"] + resources: ["secrets"] + verbs: ["create", "update", "delete"] + - apiGroups: [""] + resources: ["configmaps"] verbs: ["create", "update"] - apiGroups: ["admissionregistration.k8s.io"] resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"]