Skip to content

Commit

Permalink
chore(schedule): update the scheduler crd (#4721)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Chaudhary <[email protected]>
  • Loading branch information
ispeakc0de committed Jun 20, 2024
1 parent 9297ded commit e73efaa
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 0 deletions.
75 changes: 75 additions & 0 deletions mkdocs/docs/chaos-scheduler-v3.8.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2665,6 +2665,81 @@ spec:
type: string
type: object
type: array
concurrencyPolicy:
type: string
scheduleState:
type: string
schedule:
oneOf:
- required:
- now
- required:
- once
- required:
- repeat
properties:
now:
type: boolean
once:
properties:
executionTime:
format: date-time
type: string
type: object
repeat:
properties:
timeRange:
properties:
endTime:
format: date-time
type: string
startTime:
format: date-time
type: string
type: object
workHours:
properties:
includedHours:
type: string
type: object
required:
- includedHours
workDays:
properties:
includedDays:
pattern: ((Mon|Tue|Wed|Thu|Fri|Sat|Sun)(,))*(Mon|Tue|Wed|Thu|Fri|Sat|Sun)
type: string
type: object
required:
- includedDays
properties:
properties:
minChaosInterval:
properties:
hour:
properties:
everyNthHour:
type: integer
minuteOfTheHour:
type: integer
type: object
minute:
properties:
everyNthMinute:
type: integer
type: object
type: object
minProperties: 1
maxProperties: 1
random:
type: boolean
type: object
required:
- minChaosInterval
type: object
required:
- properties
type: object
status:
x-kubernetes-preserve-unknown-fields: true
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2589,6 +2589,81 @@ spec:
type: string
type: object
type: array
concurrencyPolicy:
type: string
scheduleState:
type: string
schedule:
oneOf:
- required:
- now
- required:
- once
- required:
- repeat
properties:
now:
type: boolean
once:
properties:
executionTime:
format: date-time
type: string
type: object
repeat:
properties:
timeRange:
properties:
endTime:
format: date-time
type: string
startTime:
format: date-time
type: string
type: object
workHours:
properties:
includedHours:
type: string
type: object
required:
- includedHours
workDays:
properties:
includedDays:
pattern: ((Mon|Tue|Wed|Thu|Fri|Sat|Sun)(,))*(Mon|Tue|Wed|Thu|Fri|Sat|Sun)
type: string
type: object
required:
- includedDays
properties:
properties:
minChaosInterval:
properties:
hour:
properties:
everyNthHour:
type: integer
minuteOfTheHour:
type: integer
type: object
minute:
properties:
everyNthMinute:
type: integer
type: object
type: object
minProperties: 1
maxProperties: 1
random:
type: boolean
type: object
required:
- minChaosInterval
type: object
required:
- properties
type: object
status:
x-kubernetes-preserve-unknown-fields: true
type: object
Expand Down

0 comments on commit e73efaa

Please sign in to comment.