mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-01 20:56:02 +09:00
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:
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]
|
||||
|
||||
Reference in new issue
Block a user