Skip to content

Commit dc8f359

Browse files
authored
Merge pull request #469 from uditgaurav/add-initialDelaySeconds
Add initialDelaySeconds for backward compatibility of probes
2 parents d019f63 + 8909abc commit dc8f359

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

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)