You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: operator/apis/execution/v1/scheduledscan_types.go
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,14 @@ type ScheduledScanSpec struct {
18
18
19
19
// Interval describes how often the scan should be repeated
20
20
// Examples: '12h', '30m'
21
+
// +kubebuilder:validation:Optional
21
22
Interval metav1.Duration`json:"interval"`
22
23
24
+
// +kubebuilder:validation:MinLength=0
25
+
// +kubebuilder:validation:Optional
26
+
// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
27
+
Schedulestring`json:"schedule"`
28
+
23
29
// SuccessfulJobsHistoryLimit determines how many past Scans will be kept until the oldest one will be deleted, defaults to 3. When set to 0, Scans will be deleted directly after completion
0 commit comments