diff --git a/flytectl/cmd/register/register_util.go b/flytectl/cmd/register/register_util.go index 0bf5a23d49..b7b419e611 100644 --- a/flytectl/cmd/register/register_util.go +++ b/flytectl/cmd/register/register_util.go @@ -339,8 +339,9 @@ func hydrateTaskSpec(task *admin.TaskSpec, sourceUploadedLocation storage.DataRe } task.Template.Target = &core.TaskTemplate_K8SPod{ K8SPod: &core.K8SPod{ - Metadata: task.Template.GetK8SPod().Metadata, - PodSpec: podSpecStruct, + Metadata: task.Template.GetK8SPod().Metadata, + PodSpec: podSpecStruct, + DataConfig: task.Template.GetK8SPod().DataConfig, }, } }