|
|
|
@ -183,23 +183,31 @@ function InnerForm({
|
|
|
|
|
/>
|
|
|
|
|
{values.deploymentType === DeploymentType.Compose && (
|
|
|
|
|
<>
|
|
|
|
|
<SwitchField
|
|
|
|
|
checked={values.prePullImage}
|
|
|
|
|
name="prePullImage"
|
|
|
|
|
label="Pre-pull images"
|
|
|
|
|
tooltip="When enabled, redeployment will be executed when image(s) is pulled successfully"
|
|
|
|
|
label-Class="col-sm-3 col-lg-2"
|
|
|
|
|
onChange={(value) => setFieldValue('prePullImage', value)}
|
|
|
|
|
/>
|
|
|
|
|
<div className="form-group">
|
|
|
|
|
<div className="col-sm-12">
|
|
|
|
|
<SwitchField
|
|
|
|
|
checked={values.prePullImage}
|
|
|
|
|
name="prePullImage"
|
|
|
|
|
label="Pre-pull images"
|
|
|
|
|
tooltip="When enabled, redeployment will be executed when image(s) is pulled successfully"
|
|
|
|
|
labelClass="col-sm-3 col-lg-2"
|
|
|
|
|
onChange={(value) => setFieldValue('prePullImage', value)}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<SwitchField
|
|
|
|
|
checked={values.retryDeploy}
|
|
|
|
|
name="retryDeploy"
|
|
|
|
|
label="Retry deployment"
|
|
|
|
|
tooltip="When enabled, this will allow edge agent keep retrying deployment if failure occur"
|
|
|
|
|
label-Class="col-sm-3 col-lg-2"
|
|
|
|
|
onChange={(value) => setFieldValue('retryDeploy', value)}
|
|
|
|
|
/>
|
|
|
|
|
<div className="form-group">
|
|
|
|
|
<div className="col-sm-12">
|
|
|
|
|
<SwitchField
|
|
|
|
|
checked={values.retryDeploy}
|
|
|
|
|
name="retryDeploy"
|
|
|
|
|
label="Retry deployment"
|
|
|
|
|
tooltip="When enabled, this will allow edge agent keep retrying deployment if failure occur"
|
|
|
|
|
labelClass="col-sm-3 col-lg-2"
|
|
|
|
|
onChange={(value) => setFieldValue('retryDeploy', value)}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</>
|
|
|
|
|
)}
|
|
|
|
|
</>
|
|
|
|
|