Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

[release-v0.17.2] Backport: PR 4442#937

Merged
openshift-merge-robot merged 1 commit into
openshift:release-v0.17.2from
cardil:backport/pr-4442
Oct 31, 2020
Merged

[release-v0.17.2] Backport: PR 4442#937
openshift-merge-robot merged 1 commit into
openshift:release-v0.17.2from
cardil:backport/pr-4442

Conversation

@cardil
Copy link
Copy Markdown

@cardil cardil commented Oct 30, 2020

…e#4442)

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 is 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.

Reducing this test method name length will help fit within this strict
limit of 63 chars.
@openshift-ci-robot openshift-ci-robot added the area/test-and-release Issues or PRs related to test and release label Oct 30, 2020
@cardil cardil changed the title Backport: PR 4442 [release-v0.17.2] Backport: PR 4442 Oct 30, 2020
@matzew
Copy link
Copy Markdown
Member

matzew commented Oct 31, 2020

/lgtm
/approve

@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cardil, matzew

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 31, 2020
@openshift-merge-robot openshift-merge-robot merged commit c572769 into openshift:release-v0.17.2 Oct 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Issues or PRs related to test and release lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants