Skip to content

Commit e97a25a

Browse files
uditgauravAlvaroGG0
authored andcommitted
Add initialDelaySeconds for backward compatibility
Signed-off-by: Alvaro Gutierrez <[email protected]>
1 parent c6edf85 commit e97a25a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

api/litmuschaos/v1alpha1/chaosengine_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,8 @@ type RunProperty struct {
430430
// after each iteration
431431
ProbePollingInterval string `json:"probePollingInterval,omitempty"`
432432
//InitialDelaySeconds time interval for which probe will wait before run
433+
InitialDelaySeconds int `json:"initialDelaySeconds,omitempty"`
434+
//InitialDelay time interval for which probe will wait before run
433435
InitialDelay string `json:"initialDelay,omitempty"`
434436
// EvaluationTimeout is the timeout window in which the SLO metrics
435437
// will be fetched and will be evaluated

deploy/crds/chaosengine_crd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,6 +2268,8 @@ spec:
22682268
type: integer
22692269
probePollingInterval:
22702270
type: string
2271+
initialDelaySeconds:
2272+
type: integer
22712273
initialDelay:
22722274
type: string
22732275
stopOnFailure:

0 commit comments

Comments
 (0)