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

Need to update name validation when creating a cluster to match rules from the Backend #62

Closed
eva-vashkevich opened this issue May 14, 2024 · 0 comments · Fixed by #54
Closed
Assignees
Labels
area/ui kind/enhancement New feature or request

Comments

@eva-vashkevich
Copy link
Member

Steps to reproduce:

  1. Start creating a new cluster
  2. Enter "test_test" as a name
  3. Fill in other required fields and press 'Create'
  4. "Cluster.cluster.x-k8s.io "test_test" is invalid: metadata.name: Invalid value: "test_test": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(.a-z0-9?)*') is thrown

Expected behavior:
Validation should not allow values that do not conform to this rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui kind/enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

2 participants