You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
If the namespace a MessagingEndpoint is located in, starts with a number, the creation of the service will fail, as a service name must be a valid DNS name, and must not start with a number.
To Reproduce
Steps to reproduce the behavior:
Create MessagingInfrastructure
Create a new namespace 123
Create a MessagingProject
Create a MessagingEndpoint
Service does not get created
Expected behavior
I should be possible to create endpoints in a valid Kubernetes namespace.
Screenshots
Status section of MessagingEndpoint
{
"conditions": [
{
"lastTransitionTime": "2020-07-08T16:04:52Z",
"status": "True",
"type": "FoundProject"
},
{
"lastTransitionTime": "2020-07-08T16:04:52Z",
"status": "Unknown",
"type": "ConfiguredTLS"
},
{
"lastTransitionTime": "2020-07-08T16:04:52Z",
"status": "True",
"type": "AllocatedPorts"
},
{
"lastTransitionTime": "2020-07-08T16:04:52Z",
"status": "Unknown",
"type": "Created"
},
{
"lastTransitionTime": "2020-07-08T16:04:52Z",
"message": "Service \"8e0a8244-68b3-41bc-b9ff-919d14ef8431-downstream\" is invalid: metadata.name: Invalid value: \"8e0a8244-68b3-41bc-b9ff-919d14ef8431-downstream\": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')",
"status": "False",
"type": "ServiceCreated"
},
{
"lastTransitionTime": "2020-07-08T16:04:52Z",
"status": "Unknown",
"type": "Ready"
}
],
"internalPorts": [
{
"name": "8e0a8244-68b3-41bc-b9ff-919d14ef8431-downstream-AMQP",
"port": 40018,
"protocol": "AMQP"
}
],
"message": "Service \"8e0a8244-68b3-41bc-b9ff-919d14ef8431-downstream\" is invalid: metadata.name: Invalid value: \"8e0a8244-68b3-41bc-b9ff-919d14ef8431-downstream\": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')",
"phase": "Configuring",
"type": "NodePort"
}
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
If the namespace a
MessagingEndpoint
is located in, starts with a number, the creation of the service will fail, as a service name must be a valid DNS name, and must not start with a number.To Reproduce
Steps to reproduce the behavior:
123
Expected behavior
I should be possible to create endpoints in a valid Kubernetes namespace.
Screenshots
Status section of MessagingEndpoint
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: