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:
> 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?