-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow dashes in port names (again) #517
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing! All other cases should be handled
As with Kubernetes names in general, names for ports must only contain lowercase alphanumeric characters and -. Port names must also start and end with an alphanumeric character.
Just for the record from #514 (comment)
I'd argue that 123-abc is far less common, and while switching to a PORT_ prefix would fix it, I'm not sure it's worth the compatibility break.
Thinking about it, would anything else than |
(Merging since digit-prefixed ports are a separate fix anyway, but can continue discussing in here or make a new issue)
In the default configuration, no. But they can still use |
It would definitely have been better to do it that way from the start. Now we have the tradeoff to make. |
I think the likelihood of someone doing that is very very unlikely and I personally would prefer to be safe in the long run |
To be clear, the options here are:
|
Honestly I don't care to much, I leave it up to you |
Description
Fixes #514
Definition of Done Checklist
Author
Reviewer
Acceptance