diff --git a/charts/kubescape-operator/templates/node-agent/clusterrole.yaml b/charts/kubescape-operator/templates/node-agent/clusterrole.yaml index dc084825..33183b7a 100644 --- a/charts/kubescape-operator/templates/node-agent/clusterrole.yaml +++ b/charts/kubescape-operator/templates/node-agent/clusterrole.yaml @@ -37,4 +37,7 @@ rules: - apiGroups: ["kubescape.io"] resources: ["operatorcommands/status"] verbs: ["get", "watch", "list", "update", "patch"] +- apiGroups: ["events.k8s.io"] + resources: ["events"] + verbs: ["create", "patch", "get"] {{- end }}