diff --git a/packages/system/linstor/templates/blockstor-satellite.yaml b/packages/system/linstor/templates/blockstor-satellite.yaml index de1a522e2..2e2f07503 100644 --- a/packages/system/linstor/templates/blockstor-satellite.yaml +++ b/packages/system/linstor/templates/blockstor-satellite.yaml @@ -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] diff --git a/packages/system/linstor/tests/blockstor_workloads_test.yaml b/packages/system/linstor/tests/blockstor_workloads_test.yaml index 98ed86e40..5395afeec 100644 --- a/packages/system/linstor/tests/blockstor_workloads_test.yaml +++ b/packages/system/linstor/tests/blockstor_workloads_test.yaml @@ -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]