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

Add length validation to route name #725

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

geezyx
Copy link

@geezyx geezyx commented Aug 28, 2023

Description of changes:

According to the API reference, the route name must be at least 1 character and at most 255 characters. https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_RouteData.html

Currently an empty string is valid input for the CRD, which results in an API error during reconcile. This can be caught early with a validation rule.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ysdongAmazon
Copy link
Contributor

Thank you, Mike for pointing out. Executed unit tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants