https://flyte.org logo
#ask-the-community
Title
# ask-the-community
f

Fabio Grätz

07/28/2023, 10:44 AM
I want to archive a flyte project, let’s call it
foo_bar_3d
, which was created by providing it in the helm values.
flytectl
gives me this error though:
Copy code
> flytectl update project -p foo_bar_3d --archive

Project foo_bar_3d failed to update due to rpc error: code = InvalidArgument desc = invalid project id [foo_bar_3d]: [a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')]
Error: rpc error: code = InvalidArgument desc = invalid project id [foo_bar_3d]: [a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')]
So apparently when using flytectl to create/update projects,
_
is not an allowed character but is when creating the project via helm values. What is the best course of action here?
y

Yee

07/28/2023, 7:50 PM
can you try using a yaml file?
the flytectl command should take a yaml file.
7 Views