A wildcard DNS-1123 subdomain must start with '*.', followed by a valid DNS subdomain

Asking for help? Comment out what you need so we can get more information to help you!

is K8s planning to support wildcard at subdomain to match multiple hosts (e.g test-stream1.google.com, test-stream1.facebook.com) in a single host entry in the ingress resource, so that I can group applications ?

AWS Load Balancer is supporting this wildcard at subdomain level, but K8s is not allowing.

ERROR

# ingresses.networking.k8s.io "some-generic-ingress" was not valid:
# * spec.rules[0].host: Invalid value: "test-stream1.*.com": a wildcard DNS-1123 subdomain must start with '*.', followed by a valid DNS subdomain, which must consist of lower case alphanumeric characters, '-' or '.' and end with an alphanumeric character (e.g. '*.example.com', regex used for validation is '\*\.[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

Cluster information:

Kubernetes version: 1.22
Cloud being used: (put bare-metal if not on a public cloud) AWS EKS
Installation method: AWS Managed Service
Host OS: amd64
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.