acoustic-carpenter-78188
05/02/2023, 7:01 PMSeedProjects key to the Admin configuration struct in cmd/single. This allows users to specify which projects should be created at start up. This allows management of the flyte installation to be more declarative via the helm chart installation path.
Check all the applicable boxes
☑︎ I updated the documentation accordingly.
☑︎ All new and existing tests passed.
☑︎ All commits are signed-off.
Note to reviewers
The original ticket suggests that configuration.admin.seedProjects should be settable; however, that key doesn't exist in the current setup. Instead this works in the same way one can set task_resources, via `configuration.inline`:
# values.yaml
flyte-core-components:
admin:
seedProjects:
- flytesnacks
- flytemeals
In my local sandbox: POD_NAMESPACE=flyte go run -tags console cmd/main.go start --config ~/.flyte/local-dev-config.yaml with a ~/.flyte/local-dev-config.yaml containing:
flyte:
admin:
seedProjects:
- flytesnacks
- flytemeals
Results in:
Screenshot 2023-05-02 at 1 48 25 PM▾
acoustic-carpenter-78188
05/02/2023, 7:01 PMacoustic-carpenter-78188
05/15/2023, 4:46 PM