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
{{ message }}
Repository navigation
Commit d83c5f0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: operator/apis/execution/v1/scheduledscan_types.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,8 @@ type ScheduledScanSpec struct {
21
21
// +kubebuilder:validation:Optional
22
22
Interval metav1.Duration`json:"interval"`
23
23
24
-
// +kubebuilder:validation:MinLength=0
25
-
// +kubebuilder:validation:Optional
26
24
// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
25
+
// +kubebuilder:validation:Optional
27
26
Schedulestring`json:"schedule"`
28
27
29
28
// 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
@@ -65,6 +64,7 @@ type ScheduledScanStatus struct {
// +kubebuilder:printcolumn:name="Parameters",type=string,JSONPath=`.spec.scanSpec.parameters`,description="Arguments passed to the Scanner",priority=1
0 commit comments