diff --git a/component/olm.jsonnet b/component/olm.jsonnet index 0955841f..f97507ff 100644 --- a/component/olm.jsonnet +++ b/component/olm.jsonnet @@ -202,7 +202,11 @@ local patchManifests = function(file, has_csv) file { contents+: { rules: [ - if r.apiGroups == [ '' ] && r.resources == [ 'events' ] then + if + r.apiGroups == [ '' ] + && r.resources == [ 'events' ] + && !std.member(r.verbs, 'patch') + then r { verbs+: [ 'patch' ], }