Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
add data reference fields
Browse files Browse the repository at this point in the history
Signed-off-by: Babis Kiosidis <[email protected]>
  • Loading branch information
Babis Kiosidis authored and ckiosidis committed Jul 20, 2022
1 parent 4310176 commit 3167be8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/apis/flyteworkflow/v1alpha1/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3167be8

Please sign in to comment.