@@ -29,7 +29,7 @@ type ChaosEngineSpec struct {
2929 Appinfo ApplicationParams `json:"appinfo,omitempty"`
3030 //DefaultHealthCheck defines whether default health checks should be executed or not. It can be true or false
3131 // default value is true
32- DefaultHealthCheck string `json:"defaultHealthCheck,omitempty"`
32+ DefaultHealthCheck bool `json:"defaultHealthCheck,omitempty"`
3333 //ChaosServiceAccount is the SvcAcc specified for chaos runner pods
3434 ChaosServiceAccount string `json:"chaosServiceAccount"`
3535 //Components contains the image, imagePullPolicy, arguments, and commands of runner
@@ -419,21 +419,21 @@ type PostMethod struct {
419419// RunProperty contains timeout, retry and interval for the probe
420420type RunProperty struct {
421421 //ProbeTimeout contains timeout for the probe
422- ProbeTimeout int `json:"probeTimeout,omitempty"`
422+ ProbeTimeout string `json:"probeTimeout,omitempty"`
423423 // Interval contains the interval for the probe
424- Interval int `json:"interval,omitempty"`
424+ Interval string `json:"interval,omitempty"`
425425 // Retry contains the retry count for the probe
426426 Retry int `json:"retry,omitempty"`
427427 // Attempt contains the total attempt count for the probe
428428 Attempt int `json:"attempt,omitempty"`
429429 //ProbePollingInterval contains time interval, for which continuous probe should be sleep
430430 // after each iteration
431- ProbePollingInterval int `json:"probePollingInterval,omitempty"`
431+ ProbePollingInterval string `json:"probePollingInterval,omitempty"`
432432 //InitialDelaySeconds time interval for which probe will wait before run
433- InitialDelaySeconds int `json:"initialDelaySeconds ,omitempty"`
433+ InitialDelay string `json:"initialDelay ,omitempty"`
434434 // EvaluationTimeout is the timeout window in which the SLO metrics
435435 // will be fetched and will be evaluated
436- EvaluationTimeout int `json:"evaluationTimeout,omitempty"`
436+ EvaluationTimeout string `json:"evaluationTimeout,omitempty"`
437437 // StopOnFailure contains flag to stop/continue experiment execution, if probe fails
438438 // it will stop the experiment execution, if provided true
439439 // it will continue the experiment execution, if provided false or not provided(default case)
0 commit comments