mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 23:14:17 +00:00
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:
@@ -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"`
|
||||
}
|
||||
|
||||
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user