Skip to content

Add validation in the latticeServiceModelBuildTask: the hostnames in the TLSRoute is required field for the aws gateway api controller supported TLSRoute #649

@zijun726911

Description

@zijun726911

Due to the VPC lattice Considerations:

The VPC Lattice service must have a custom domain name.

For aws gateway api controller supported TLSRoute, it must have at least one item in the hostnames field.

https://docs.aws.amazon.com/vpc-lattice/latest/ug/tls-listeners.html#tls-listeners-considerations

Need to change code here:

spec.CustomerDomainName = string(t.route.Spec().Hostnames()[0])

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions