Describe the bug
Having too long namespace or kservice name can lead to an error like:
$ host wathola-receiver-test-continuous-events-propagation-with-prober-zxmkp.apps.example.org
host: 'wathola-receiver-test-continuous-events-propagation-with-prober-zxmkp.apps.example.org' is not a legal IDN name (domain label longer than 63 characters), use +noidnin
In this case my namespace is test-continuous-events-propagation-with-prober-zxmkp and knative service name is wathola-receiver. The namespace is taken from Go test method name. The limit is 63 characters. In this example
the subdomain has 69 characters.
This does affect OpenShift Serverless as kservices there have a URL format of ${ksvc.name}-${ksvc.namespace} to enable usage of TLS wildcard certificates.
Expected behavior
Reducing this test method name length will help fit within this strict limit of 63 chars.
To Reproduce
openshift-knative/serverless-operator#530 (comment)
Knative release version
0.17+
Describe the bug
Having too long namespace or kservice name can lead to an error like:
In this case my namespace is
test-continuous-events-propagation-with-prober-zxmkpand knative service name iswathola-receiver. The namespace is taken from Go test method name. The limit is 63 characters. In this examplethe subdomain has 69 characters.
This does affect OpenShift Serverless as kservices there have a URL format of
${ksvc.name}-${ksvc.namespace}to enable usage of TLS wildcard certificates.Expected behavior
Reducing this test method name length will help fit within this strict limit of 63 chars.
To Reproduce
openshift-knative/serverless-operator#530 (comment)
Knative release version
0.17+