You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Root cause: In Kubernetes/Argo, the valid type of command-line arguments is string. The ContainerOp class does not convert all arguments to strings, so the compiler produces invalid Workflows.
The pipeline spec is invalid.: InvalidInputError: Invalid argo workflow format. Workflow:
...
json: cannot unmarshal number into Go struct field Container.args of type string
Interestingly, argo lint does not catch the problem. (Is that because Argo uses yaml.Unmarshal which does not validate enough?)
The text was updated successfully, but these errors were encountered:
Root cause: In Kubernetes/Argo, the valid type of command-line arguments is string. The
ContainerOp
class does not convert all arguments to strings, so the compiler produces invalid Workflows.Interestingly,
argo lint
does not catch the problem. (Is that because Argo usesyaml.Unmarshal
which does not validate enough?)The text was updated successfully, but these errors were encountered: