From 34782932f5b5aac4b00aaf8b361d75ab3552c2ee Mon Sep 17 00:00:00 2001 From: Tanton Date: Tue, 16 Oct 2018 14:09:28 -0500 Subject: [PATCH] Allow PATCH Event Resource While testing the master branch I noticed this error ``` 'events "foobarfoobarfoobarfoobarfoobarfoobar.155e2c1afd13d7ce" is forbidden: User "system:serviceaccount:aws-service-operator:aws-service-operator" cannot patch events in the namespace "default"' (will not retry!) ``` I updated the cluster role definition to allow this action Signed-off-by: Alexander Tanton --- .../pkg/codegen/assets/aws-service-operator.yaml.templ | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code-generation/pkg/codegen/assets/aws-service-operator.yaml.templ b/code-generation/pkg/codegen/assets/aws-service-operator.yaml.templ index 0b9b43c2b..131a8e248 100644 --- a/code-generation/pkg/codegen/assets/aws-service-operator.yaml.templ +++ b/code-generation/pkg/codegen/assets/aws-service-operator.yaml.templ @@ -41,6 +41,7 @@ items: - pods - configmaps - services + - events verbs: - get - list @@ -48,6 +49,7 @@ items: - create - delete - update + - patch - apiGroups: - apiextensions.k8s.io resources: