From 40309f8dac99d9d631470aa656fa565de64a6299 Mon Sep 17 00:00:00 2001 From: Pranshu <153133494+pranshustuff@users.noreply.github.com> Date: Sat, 19 Oct 2024 07:16:42 +0530 Subject: [PATCH] Update flytectl_update_workflow-execution-config.rst Added the usage of raw_output_data_config in flytectl update workflow-execution-config page of docs, Signed-off-by: Pranshu <153133494+pranshustuff@users.noreply.github.com> --- ...ytectl_update_workflow-execution-config.rst | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/flytectl/docs/source/gen/flytectl_update_workflow-execution-config.rst b/flytectl/docs/source/gen/flytectl_update_workflow-execution-config.rst index b025df8a57..5c2a07dd99 100644 --- a/flytectl/docs/source/gen/flytectl_update_workflow-execution-config.rst +++ b/flytectl/docs/source/gen/flytectl_update_workflow-execution-config.rst @@ -12,12 +12,19 @@ Synopsis Updates the workflow execution config for the given project and domain combination or additionally with workflow name. -Updating the workflow execution config is only available from a generated file. See the get section for generating this file. +Updating the workflow execution config is only available from a generated file. +See the get section for generating this file. This will completely overwrite any existing custom project and domain and workflow combination execution config. It is preferable to do get and generate a config file if there is an existing execution config already set and then update it to have new values. Refer to get workflow-execution-config section on how to generate this file. -It takes input for workflow execution config from the config file wec.yaml, -Example: content of wec.yaml: + +It takes input for workflow execution config from the config file wec.yaml + +**New Configuration Example: Adding** ``raw_output_data_config`` + +You can now update the `raw_output_data_config` using the `flytectl update workflow-execution-config` command. + +Example content of `wec.yaml`: .. code-block:: yaml @@ -27,6 +34,8 @@ Example: content of wec.yaml: security_context: run_as: k8s_service_account: demo + raw_output_data_config: + output_location_prefix: s3://example-data :: @@ -34,6 +43,7 @@ Example: content of wec.yaml: Update workflow execution config for project, domain, and workflow combination. This will take precedence over any other execution config defined at project domain level. + For workflow 'core.control_flow.merge_sort.merge_sort' in flytesnacks project, development domain, it is: .. code-block:: yaml @@ -45,6 +55,8 @@ For workflow 'core.control_flow.merge_sort.merge_sort' in flytesnacks project, d security_context: run_as: k8s_service_account: mergesortsa + raw_output_data_config: + output_location_prefix: s3://example-data ::