From 792f940a7bf0ac780b7af675cb238e777a3ceaa9 Mon Sep 17 00:00:00 2001 From: Danielle Lancashire Date: Wed, 11 Sep 2024 17:15:37 +0200 Subject: [PATCH] helm: fix generated chart RBAC After we updated the operator RBAC to include Events, we never updated the checked in version of the chart to reflect that. This doesn't effect releases, as CI regenerates the helm chart, but does impact people who checkout the repository and use the local helm chart. Signed-off-by: Danielle Lancashire --- charts/spin-operator/templates/manager-rbac.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/charts/spin-operator/templates/manager-rbac.yaml b/charts/spin-operator/templates/manager-rbac.yaml index 9a5bb5a9..bf7597b6 100644 --- a/charts/spin-operator/templates/manager-rbac.yaml +++ b/charts/spin-operator/templates/manager-rbac.yaml @@ -47,6 +47,13 @@ rules: - deployments/status verbs: - get +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch - apiGroups: - core.spinoperator.dev resources: