Removing condition tests.

This commit is contained in:
Aleksandr Melnikov
2020-11-04 17:15:47 -08:00
parent 2fef7d78c1
commit 6d42a44957

View File

@@ -491,10 +491,9 @@ func (c *Client) createWorkflow(namespace string, workflowTemplateID uint64, wor
},
},
Resource: &wfv1.ResourceTemplate{
Action: "create",
SuccessCondition: "status.succeeded > 0",
FailureCondition: "status.failed > 3",
Manifest: serviceManifest,
Action: "create",
SetOwnerReference: true,
Manifest: serviceManifest,
},
}
newTemplateOrder = append(newTemplateOrder, templateServiceResource)
@@ -536,10 +535,9 @@ func (c *Client) createWorkflow(namespace string, workflowTemplateID uint64, wor
},
},
Resource: &wfv1.ResourceTemplate{
Action: "create",
SuccessCondition: "status.succeeded > 0",
FailureCondition: "status.failed > 3",
Manifest: virtualServiceManifest,
Action: "create",
Manifest: virtualServiceManifest,
SetOwnerReference: true,
},
}
newTemplateOrder = append(newTemplateOrder, templateRouteResource)