diff --git a/charts/agent/Chart.yaml b/charts/agent/Chart.yaml index c8de53cfe..65694c6f1 100644 --- a/charts/agent/Chart.yaml +++ b/charts/agent/Chart.yaml @@ -30,4 +30,4 @@ sources: - https://app.sysdigcloud.com/#/settings/user - https://github.com/draios/sysdig type: application -version: 1.14.2 +version: 1.15.0 \ No newline at end of file diff --git a/charts/agent/templates/clusterrole.yaml b/charts/agent/templates/clusterrole.yaml index 8f7274642..50c2c5095 100644 --- a/charts/agent/templates/clusterrole.yaml +++ b/charts/agent/templates/clusterrole.yaml @@ -26,6 +26,13 @@ rules: - get - list - watch + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch - apiGroups: - apps resources: diff --git a/charts/agent/tests/clusterrole_test.yaml b/charts/agent/tests/clusterrole_test.yaml index c56a7caaa..ad61ffa29 100644 --- a/charts/agent/tests/clusterrole_test.yaml +++ b/charts/agent/tests/clusterrole_test.yaml @@ -69,3 +69,16 @@ tests: - RELEASE-NAME-agent verbs: - "use" + + - it: Test Events can be created in kubernetes + asserts: + - contains: + path: rules + content: + apiGroups: + - "" + resources: + - "events" + verbs: + - "create" + - "patch"