From 3167be8811e32506c4b0c11c3bba78659a254530 Mon Sep 17 00:00:00 2001 From: Babis Kiosidis Date: Wed, 20 Jul 2022 15:13:53 +0300 Subject: [PATCH] add data reference fields Signed-off-by: Babis Kiosidis --- pkg/apis/flyteworkflow/v1alpha1/workflow.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/apis/flyteworkflow/v1alpha1/workflow.go b/pkg/apis/flyteworkflow/v1alpha1/workflow.go index 46b190520..f411d2071 100644 --- a/pkg/apis/flyteworkflow/v1alpha1/workflow.go +++ b/pkg/apis/flyteworkflow/v1alpha1/workflow.go @@ -64,6 +64,14 @@ type FlyteWorkflow struct { // so that it can be used downstream without any confusion. // This field is here because it's easier to put it here than pipe through a new object through all of propeller. DataReferenceConstructor storage.ReferenceConstructor `json:"-"` + + // Location that contains the serialized json workflowSpec + WorkflowSpecDataReference DataReference `json:workflowSpecDataReference,omitempty` + + // If set, the location will contain the serialized json subWorkflows + SubWorkflowsDataReference DataReference `json:"subWorkflowsDataReference,omitempty"` + // If set, the location will contain the serialised json tasks + TasksDataReference DataReference `json:"tasksDataReference,omitempty"` } func (in *FlyteWorkflow) GetSecurityContext() core.SecurityContext {