Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fungiboletus opened this issue Oct 20, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fungiboletus
Copy link
Member

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.

@fungiboletus fungiboletus added the enhancement New feature or request label Oct 20, 2023
@goranbs goranbs self-assigned this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants