DataCloud-project / SIM-PIPE

SIM-PIPE generates and simulates a deployment configuration in order to test the functionality and evaluate the performance of the steps of a big data pipeline.
Apache License 2.0
10 stars 1 forks source link

[Feature request] Prevent users to submit names that are not valid kubernetes names #127

Open fungiboletus opened 1 year ago

fungiboletus commented 1 year ago

Kubernetes is relatively strict about the names of its resources, as it should be valid DNS names.

The frontend doesn't prevent submitting invalid names. Kubernetes will reject them, but it could be preferable to do little validation on the frontend first. Like using the pattern parameters in <input> tags, or a bit more advanced javascript. Svelte must have some neat validation library.

To reproduce: create a run with two words and a space between them as name.

goranbs commented 2 weeks ago

Still an issue I think.