event stream: add events for CSI volumes and plugins (#24724)

Adds new topics to the event stream for CSI volumes and CSI plugins. We'll emit
event when either is created or deleted, and when CSI volumes are claimed.
This commit is contained in:
Tim Gross
2024-12-19 15:26:29 -05:00
committed by GitHub
parent 9cf0ad9447
commit c3ac9c19a0
10 changed files with 230 additions and 46 deletions

View File

@@ -28,6 +28,7 @@ the nature of this endpoint individual topics require specific policies.
Note that if you do not include a `topic` parameter all topics will be included
by default, requiring a management token.
| Topic | ACL Required |
|--------------|------------------------------|
| `*` | `management` |
@@ -35,6 +36,8 @@ by default, requiring a management token.
| `ACLRole` | `management` |
| `ACLToken` | `management` |
| `Allocation` | `namespace:read-job` |
| `CSIPlugin` | `namespace:read-job` |
| `CSIVolume` | `namespace:csi-read-volume` |
| `Deployment` | `namespace:read-job` |
| `Evaluation` | `namespace:read-job` |
| `HostVolume` | `namespace:host-volume-read` |
@@ -72,6 +75,8 @@ by default, requiring a management token.
| ACLRoles | ACLRole |
| ACLToken | ACLToken |
| Allocation | Allocation (no job information) |
| CSIPlugin | CSIPlugin |
| CSIVolume | CSIVolume |
| Deployment | Deployment |
| Evaluation | Evaluation |
| HostVolume | HostVolume (dynamic host volumes only) |
@@ -94,6 +99,8 @@ by default, requiring a management token.
| AllocationCreated |
| AllocationUpdateDesiredStatus |
| AllocationUpdated |
| CSIVolumeDeregistered |
| CSIVolumeRegistered |
| DeploymentAllocHealth |
| DeploymentPromotion |
| DeploymentStatusUpdate |