mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2025-07-20 21:55:11 +00:00
Add end date support for OneTime schedule
This commit is contained in:
@@ -58,6 +58,11 @@ spec:
|
||||
description: The duration in minutes that the configured value
|
||||
will be returned for the defined schedule.
|
||||
type: integer
|
||||
endDate:
|
||||
description: Defines the ending date of a OneTime schedule.
|
||||
It must be a RFC3339 formated date.
|
||||
format: date-time
|
||||
type: string
|
||||
period:
|
||||
description: Defines the details of a Repeating schedule.
|
||||
properties:
|
||||
@@ -76,6 +81,10 @@ spec:
|
||||
- Sat
|
||||
type: string
|
||||
type: array
|
||||
endTime:
|
||||
description: The endTime has the format HH:MM
|
||||
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
|
||||
type: string
|
||||
startTime:
|
||||
description: The startTime has the format HH:MM
|
||||
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
|
||||
@@ -86,6 +95,7 @@ spec:
|
||||
type: string
|
||||
required:
|
||||
- days
|
||||
- endTime
|
||||
- startTime
|
||||
- timezone
|
||||
type: object
|
||||
|
@@ -58,6 +58,11 @@ spec:
|
||||
description: The duration in minutes that the configured value
|
||||
will be returned for the defined schedule.
|
||||
type: integer
|
||||
endDate:
|
||||
description: Defines the ending date of a OneTime schedule.
|
||||
It must be a RFC3339 formated date.
|
||||
format: date-time
|
||||
type: string
|
||||
period:
|
||||
description: Defines the details of a Repeating schedule.
|
||||
properties:
|
||||
@@ -76,6 +81,10 @@ spec:
|
||||
- Sat
|
||||
type: string
|
||||
type: array
|
||||
endTime:
|
||||
description: The endTime has the format HH:MM
|
||||
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
|
||||
type: string
|
||||
startTime:
|
||||
description: The startTime has the format HH:MM
|
||||
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
|
||||
@@ -86,6 +95,7 @@ spec:
|
||||
type: string
|
||||
required:
|
||||
- days
|
||||
- endTime
|
||||
- startTime
|
||||
- timezone
|
||||
type: object
|
||||
|
Reference in New Issue
Block a user