fix(linstor): let the blockstor satellite record events.k8s.io events

The satellite's recorder writes events through events.k8s.io, for a
LUKS format refused over data, and the role granted only core events.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
Andrei Kvapil committed 2026-11-29 13:45:11 +01:00
1 parent b9526ebfd2
commit b4865ae574
2 files changed
+10 -1

No files matched your search

@@ -61,6 +61,12 @@ rules:
- apiGroups: [""]
resources: [events]
verbs: [create, patch]
{{- /*
The same events through events.k8s.io, which the satellite's recorder
writes (a LUKS format refused over data). */}}
- apiGroups: [events.k8s.io]
resources: [events]
verbs: [create, patch]
- apiGroups: [""]
resources: [nodes]
verbs: [get, list, watch]
@@ -56,7 +56,7 @@ tests:
verbs: [update, patch]
- lengthEqual:
path: rules
count: 6
count: 7
- it: gives the satellite no Secret or Lease access at cluster scope
template: templates/blockstor-satellite.yaml
@@ -308,6 +308,9 @@ tests:
- apiGroups: ['']
resources: [events]
verbs: [create, patch]
- apiGroups: [events.k8s.io]
resources: [events]
verbs: [create, patch]
- apiGroups: ['']
resources: [nodes]
verbs: [get, list, watch]