Skip to content

Commit 4344d56

Browse files
committed
Regenerated CRDs and copied it to operator/crds
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
1 parent 13b5f68 commit 4344d56

3 files changed

Lines changed: 41 additions & 25 deletions

File tree

operator/crds/execution.securecodebox.io_clusterscantypes.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ spec:
259259
Describes node affinity scheduling
260260
rules for the pod.
261261
properties:
262-
preferredDuringSchedulingIgnoredDuringExecution:
263-
description:
262+
? preferredDuringSchedulingIgnoredDuringExecution
263+
: description:
264264
The scheduler will prefer to
265265
schedule pods to nodes that satisfy the
266266
affinity expressions specified by this field,
@@ -401,8 +401,8 @@ spec:
401401
- weight
402402
type: object
403403
type: array
404-
requiredDuringSchedulingIgnoredDuringExecution:
405-
description:
404+
? requiredDuringSchedulingIgnoredDuringExecution
405+
: description:
406406
If the affinity requirements
407407
specified by this field are not met at scheduling
408408
time, the pod will not be scheduled onto
@@ -535,8 +535,8 @@ spec:
535535
rules (e.g. co-locate this pod in the same node,
536536
zone, etc. as some other pod(s)).
537537
properties:
538-
preferredDuringSchedulingIgnoredDuringExecution:
539-
description:
538+
? preferredDuringSchedulingIgnoredDuringExecution
539+
: description:
540540
The scheduler will prefer to
541541
schedule pods to nodes that satisfy the
542542
affinity expressions specified by this field,
@@ -760,8 +760,8 @@ spec:
760760
- weight
761761
type: object
762762
type: array
763-
requiredDuringSchedulingIgnoredDuringExecution:
764-
description:
763+
? requiredDuringSchedulingIgnoredDuringExecution
764+
: description:
765765
If the affinity requirements
766766
specified by this field are not met at scheduling
767767
time, the pod will not be scheduled onto
@@ -966,8 +966,8 @@ spec:
966966
rules (e.g. avoid putting this pod in the same
967967
node, zone, etc. as some other pod(s)).
968968
properties:
969-
preferredDuringSchedulingIgnoredDuringExecution:
970-
description:
969+
? preferredDuringSchedulingIgnoredDuringExecution
970+
: description:
971971
The scheduler will prefer to
972972
schedule pods to nodes that satisfy the
973973
anti-affinity expressions specified by this
@@ -1191,8 +1191,8 @@ spec:
11911191
- weight
11921192
type: object
11931193
type: array
1194-
requiredDuringSchedulingIgnoredDuringExecution:
1195-
description:
1194+
? requiredDuringSchedulingIgnoredDuringExecution
1195+
: description:
11961196
If the anti-affinity requirements
11971197
specified by this field are not met at scheduling
11981198
time, the pod will not be scheduled onto

operator/crds/execution.securecodebox.io_scantypes.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ spec:
259259
Describes node affinity scheduling
260260
rules for the pod.
261261
properties:
262-
preferredDuringSchedulingIgnoredDuringExecution:
263-
description:
262+
? preferredDuringSchedulingIgnoredDuringExecution
263+
: description:
264264
The scheduler will prefer to
265265
schedule pods to nodes that satisfy the
266266
affinity expressions specified by this field,
@@ -401,8 +401,8 @@ spec:
401401
- weight
402402
type: object
403403
type: array
404-
requiredDuringSchedulingIgnoredDuringExecution:
405-
description:
404+
? requiredDuringSchedulingIgnoredDuringExecution
405+
: description:
406406
If the affinity requirements
407407
specified by this field are not met at scheduling
408408
time, the pod will not be scheduled onto
@@ -535,8 +535,8 @@ spec:
535535
rules (e.g. co-locate this pod in the same node,
536536
zone, etc. as some other pod(s)).
537537
properties:
538-
preferredDuringSchedulingIgnoredDuringExecution:
539-
description:
538+
? preferredDuringSchedulingIgnoredDuringExecution
539+
: description:
540540
The scheduler will prefer to
541541
schedule pods to nodes that satisfy the
542542
affinity expressions specified by this field,
@@ -760,8 +760,8 @@ spec:
760760
- weight
761761
type: object
762762
type: array
763-
requiredDuringSchedulingIgnoredDuringExecution:
764-
description:
763+
? requiredDuringSchedulingIgnoredDuringExecution
764+
: description:
765765
If the affinity requirements
766766
specified by this field are not met at scheduling
767767
time, the pod will not be scheduled onto
@@ -966,8 +966,8 @@ spec:
966966
rules (e.g. avoid putting this pod in the same
967967
node, zone, etc. as some other pod(s)).
968968
properties:
969-
preferredDuringSchedulingIgnoredDuringExecution:
970-
description:
969+
? preferredDuringSchedulingIgnoredDuringExecution
970+
: description:
971971
The scheduler will prefer to
972972
schedule pods to nodes that satisfy the
973973
anti-affinity expressions specified by this
@@ -1191,8 +1191,8 @@ spec:
11911191
- weight
11921192
type: object
11931193
type: array
1194-
requiredDuringSchedulingIgnoredDuringExecution:
1195-
description:
1194+
? requiredDuringSchedulingIgnoredDuringExecution
1195+
: description:
11961196
If the anti-affinity requirements
11971197
specified by this field are not met at scheduling
11981198
time, the pod will not be scheduled onto

operator/crds/execution.securecodebox.io_scheduledscans.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ spec:
3333
jsonPath: .spec.interval
3434
name: Interval
3535
type: string
36+
- description: Schedule
37+
jsonPath: .spec.schedule
38+
name: Schedule
39+
type: string
3640
- description: Total Finding Count
3741
jsonPath: .status.findings.count
3842
name: Findings
@@ -64,6 +68,18 @@ spec:
6468
spec:
6569
description: ScheduledScanSpec defines the desired state of ScheduledScan
6670
properties:
71+
concurrencyPolicy:
72+
description:
73+
'Specifies how to treat concurrent executions of a Job.
74+
Valid values are: - "Allow" (default): allows CronJobs to run concurrently;
75+
- "Forbid": forbids concurrent runs, skipping next run if previous
76+
run hasn''t finished yet; - "Replace": cancels currently running
77+
job and replaces it with a new one'
78+
enum:
79+
- Allow
80+
- Forbid
81+
- Replace
82+
type: string
6783
failedJobsHistoryLimit:
6884
description:
6985
FailedJobsHistoryLimit determines how many failed past
@@ -4815,7 +4831,7 @@ spec:
48154831
type: object
48164832
schedule:
48174833
description: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
4818-
type: string
4834+
type: string
48194835
successfulJobsHistoryLimit:
48204836
description:
48214837
SuccessfulJobsHistoryLimit determines how many past Scans

0 commit comments

Comments
 (0)