cuddly-jelly-27016
03/01/2025, 8:32 AMflytectl update --attrFile config.yml. config.yml include configs from different subcommands specified by kind keyword (see example below). Multiple config file is also supported here by using flytectl update --attrFile config.yml --attrFile config1.yml.
---
kind: project
name: protein-design
id: protein-design
---
kind: workflow-execution-config
domain: development
project: protein-design
attributes:
projectQuotaCpu: "1000"
projectQuotaMemory: 10Ti
workflow_execution_config:
security_context:
run_as: gsa-acme-development@acme.iam.gserviceaccount.com
## How was this patch tested?
Unit test
### Labels
Please add one or more of the following labels to categorize your PR:
• added: For new features.
• changed: For changes in existing functionality.
• deprecated: For soon-to-be-removed features.
• removed: For features being removed.
• fixed: For any bug fixed.
• security: In case of vulnerabilities
This is important to improve the readability of release notes.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://flyte--6292.org.readthedocs.build/en/6292/api/flytectl/gen/flytectl_update.html
### Summary by Bito
This PR enhances flytectl's workflow execution by adding kubectl-like configuration support for multiple attribute files individually or via a directory. It modernizes file operations by replacing deprecated packages, refactors the configuration structure, and improves error handling. The changes include documentation updates reflecting these new capabilities and extensive updates to the monodocs-environment.lock.yaml file with dependency version changes.
Unit tests added: True
Estimated effort to review (1-5, lower is better): 5
flyteorg/flyte