99	"strings" 
1010	"time" 
1111
12+ 	corev1 "k8s.io/api/core/v1" 
1213	"k8s.io/apimachinery/pkg/runtime" 
1314	"sigs.k8s.io/controller-runtime/pkg/healthz" 
1415)
@@ -20,18 +21,19 @@ const (
2021
2122// Config struct 
2223type  Config  struct  {
23- 	Name                   string             `json:"name"` 
24- 	JobServiceAccount      string             `json:"jobServiceAccount"` 
25- 	JobNodeSelector        map [string ]string  `json:"jobNodeSelector"` 
26- 	RunOnUnscheduledNodes  bool               `json:"runOnUnscheduledNodes"` 
27- 	CronExpression         string             `json:"cronExpression"` 
28- 	ReportDirectory        string             `json:"reportDirectory"` 
29- 	ReportHistory          int                `json:"reportHistory"` 
30- 	PodPoolSize            int                `json:"podPoolSize"` 
31- 	RunOnStartup           bool               `json:"runOnStartup"` 
32- 	StartupDelay           time.Duration      `json:"startupDelay"` 
33- 	Metrics                Metrics            `json:"metrics"` 
34- 	HealthProbePort        int                `json:"healthProbePort"` 
24+ 	Name                   string                         `json:"name"` 
25+ 	JobServiceAccount      string                         `json:"jobServiceAccount"` 
26+ 	JobImagePullSecrets    []corev1.LocalObjectReference  `json:"imagePullSecrets"` 
27+ 	JobNodeSelector        map [string ]string              `json:"jobNodeSelector"` 
28+ 	RunOnUnscheduledNodes  bool                           `json:"runOnUnscheduledNodes"` 
29+ 	CronExpression         string                         `json:"cronExpression"` 
30+ 	ReportDirectory        string                         `json:"reportDirectory"` 
31+ 	ReportHistory          int                            `json:"reportHistory"` 
32+ 	PodPoolSize            int                            `json:"podPoolSize"` 
33+ 	RunOnStartup           bool                           `json:"runOnStartup"` 
34+ 	StartupDelay           time.Duration                  `json:"startupDelay"` 
35+ 	Metrics                Metrics                        `json:"metrics"` 
36+ 	HealthProbePort        int                            `json:"healthProbePort"` 
3537	// LatestMetricsLabel if true, each result metric is also created with executionID=latest 
3638	LatestMetricsLabel  bool                    `json:"latestMetricsLabel"` 
3739	Custom              map [string ]interface {} `json:"custom"` 
0 commit comments