aws-app-mesh-controller-for-k8s
aws-app-mesh-controller-for-k8s copied to clipboard
Add length validation to route name
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.
Thank you, Mike for pointing out. Executed unit tests