From 5afe20d6143182e9c4f1d537bc4b2a0c043e8f2c Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Sun, 9 Apr 2023 12:53:53 -0700 Subject: [PATCH 1/2] update workflow_execution_config Signed-off-by: Kevin Su --- cmd/delete/matchable_workflow_execution_config.go | 4 ++-- docs/source/gen/flytectl_delete_workflow-execution-config.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/delete/matchable_workflow_execution_config.go b/cmd/delete/matchable_workflow_execution_config.go index d0a40c15..99ccd7f1 100644 --- a/cmd/delete/matchable_workflow_execution_config.go +++ b/cmd/delete/matchable_workflow_execution_config.go @@ -35,8 +35,8 @@ For example, here's the config file wec.yaml: project: flytesnacks max_parallelism: 5 security_context: - run_as: - k8s_service_account: demo + run_as: + k8s_service_account: demo Max_parallelism is optional in the file as it is unread during the delete command but can be retained since the same file can be used for get, update and delete commands. diff --git a/docs/source/gen/flytectl_delete_workflow-execution-config.rst b/docs/source/gen/flytectl_delete_workflow-execution-config.rst index 7678e17f..7eb57c58 100644 --- a/docs/source/gen/flytectl_delete_workflow-execution-config.rst +++ b/docs/source/gen/flytectl_delete_workflow-execution-config.rst @@ -31,8 +31,8 @@ For example, here's the config file wec.yaml: project: flytesnacks max_parallelism: 5 security_context: - run_as: - k8s_service_account: demo + run_as: + k8s_service_account: demo Max_parallelism is optional in the file as it is unread during the delete command but can be retained since the same file can be used for get, update and delete commands. From ef98d8d9c30a5c7ec4a1cb635c12baaeaca3d3e2 Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Sun, 9 Apr 2023 13:01:35 -0700 Subject: [PATCH 2/2] update workflow_execution_config Signed-off-by: Kevin Su --- cmd/delete/matchable_workflow_execution_config.go | 2 +- cmd/update/matchable_workflow_execution_config.go | 12 ++++++------ .../flytectl_delete_workflow-execution-config.rst | 2 +- .../flytectl_update_workflow-execution-config.rst | 12 ++++++------ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cmd/delete/matchable_workflow_execution_config.go b/cmd/delete/matchable_workflow_execution_config.go index 99ccd7f1..ad387d4c 100644 --- a/cmd/delete/matchable_workflow_execution_config.go +++ b/cmd/delete/matchable_workflow_execution_config.go @@ -34,7 +34,7 @@ For example, here's the config file wec.yaml: domain: development project: flytesnacks max_parallelism: 5 - security_context: + security_context: run_as: k8s_service_account: demo diff --git a/cmd/update/matchable_workflow_execution_config.go b/cmd/update/matchable_workflow_execution_config.go index d6bf2a2a..b9489d67 100644 --- a/cmd/update/matchable_workflow_execution_config.go +++ b/cmd/update/matchable_workflow_execution_config.go @@ -27,9 +27,9 @@ Example: content of wec.yaml: domain: development project: flytesnacks max_parallelism: 5 - security_context: - run_as: - k8s_service_account: demo + security_context: + run_as: + k8s_service_account: demo :: @@ -45,9 +45,9 @@ For workflow 'core.control_flow.merge_sort.merge_sort' in flytesnacks project, d project: flytesnacks workflow: core.control_flow.merge_sort.merge_sort max_parallelism: 5 - security_context: - run_as: - k8s_service_account: mergesortsa + security_context: + run_as: + k8s_service_account: mergesortsa :: diff --git a/docs/source/gen/flytectl_delete_workflow-execution-config.rst b/docs/source/gen/flytectl_delete_workflow-execution-config.rst index 7eb57c58..6376d8d7 100644 --- a/docs/source/gen/flytectl_delete_workflow-execution-config.rst +++ b/docs/source/gen/flytectl_delete_workflow-execution-config.rst @@ -30,7 +30,7 @@ For example, here's the config file wec.yaml: domain: development project: flytesnacks max_parallelism: 5 - security_context: + security_context: run_as: k8s_service_account: demo diff --git a/docs/source/gen/flytectl_update_workflow-execution-config.rst b/docs/source/gen/flytectl_update_workflow-execution-config.rst index 0049564c..9d8bc318 100644 --- a/docs/source/gen/flytectl_update_workflow-execution-config.rst +++ b/docs/source/gen/flytectl_update_workflow-execution-config.rst @@ -24,9 +24,9 @@ Example: content of wec.yaml: domain: development project: flytesnacks max_parallelism: 5 - security_context: - run_as: - k8s_service_account: demo + security_context: + run_as: + k8s_service_account: demo :: @@ -42,9 +42,9 @@ For workflow 'core.control_flow.merge_sort.merge_sort' in flytesnacks project, d project: flytesnacks workflow: core.control_flow.merge_sort.merge_sort max_parallelism: 5 - security_context: - run_as: - k8s_service_account: mergesortsa + security_context: + run_as: + k8s_service_account: mergesortsa ::