No validation for Custom Transformer Docker Image Name
Opened this issue · 0 comments
ariefrahmansyah commented
Expected Behavior
Prevent user from submitting invalid custom Docker image name
Current Behavior
There's no validation for the Custom Transformer Docker Image name in the input-form, enabling the user to submit it and continue with the deployment. It leads to error creating inference service
.
Steps to reproduce
- In the model deployment page, choose Custom Transformer
- In the Docker Image name, write an invalid docker name. For example, add a space between the name and tag:
my-image-name: my-tag
- Click Deploy
- The UI will display success, but after waiting, the deployment will be failed with the error message:
error creating inference service
Possible Solution
Add validation.
*We may need to check for another validation needed in other input components.