From e73efaa4ed8202e31408dbf58f0d646241b9d1c6 Mon Sep 17 00:00:00 2001 From: Shubham Chaudhary Date: Thu, 20 Jun 2024 13:58:39 +0530 Subject: [PATCH] chore(schedule): update the scheduler crd (#4721) Signed-off-by: Shubham Chaudhary --- mkdocs/docs/chaos-scheduler-v3.8.0.yaml | 75 +++++++++++++++++++ .../litmus-scheduler-namespaced-crd.yaml | 75 +++++++++++++++++++ 2 files changed, 150 insertions(+) diff --git a/mkdocs/docs/chaos-scheduler-v3.8.0.yaml b/mkdocs/docs/chaos-scheduler-v3.8.0.yaml index 3450794e0de..ba2ef33900e 100644 --- a/mkdocs/docs/chaos-scheduler-v3.8.0.yaml +++ b/mkdocs/docs/chaos-scheduler-v3.8.0.yaml @@ -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 diff --git a/mkdocs/docs/litmus-namespaced-scope/litmus-scheduler-namespaced-crd.yaml b/mkdocs/docs/litmus-namespaced-scope/litmus-scheduler-namespaced-crd.yaml index 99e3570b5b8..560a524f1bf 100644 --- a/mkdocs/docs/litmus-namespaced-scope/litmus-scheduler-namespaced-crd.yaml +++ b/mkdocs/docs/litmus-namespaced-scope/litmus-scheduler-namespaced-crd.yaml @@ -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