Add maintenance job and data mover pod's labels and annotations setting.

Add wait in file_system_test's async test cases.
Add related documents.

Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
This commit is contained in:
Xun Jiang
2025-12-17 13:21:07 +08:00
parent a1026cb531
commit e39374f335
18 changed files with 1064 additions and 81 deletions
+6
View File
@@ -98,4 +98,10 @@ type NodeAgentConfigs struct {
// CachePVCConfig is the config for cachePVC
CachePVCConfig *CachePVC `json:"cachePVC,omitempty"`
// PodAnnotations are annotations to be added to pods created by node-agent, i.e., data mover pods.
PodAnnotations map[string]string `json:"podAnnotations,omitempty"`
// PodLabels are labels to be added to pods created by node-agent, i.e., data mover pods.
PodLabels map[string]string `json:"podLabels,omitempty"`
}
+8
View File
@@ -31,4 +31,12 @@ type JobConfigs struct {
// PriorityClassName is the priority class name for the maintenance job pod
// Note: This is only read from the global configuration, not per-repository
PriorityClassName string `json:"priorityClassName,omitempty"`
// PodAnnotations are annotations to be added to maintenance job pods.
// Note: This is only read from the global configuration, not per-repository
PodAnnotations map[string]string `json:"podAnnotations,omitempty"`
// PodLabels are labels to be added to maintenance job pods.
// Note: This is only read from the global configuration, not per-repository
PodLabels map[string]string `json:"podLabels,omitempty"`
}