This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38278 from hodovska/external-name-no-ports
Automatic merge from submit-queue API v1: do not require ports for all types of services Ports values had to be specified for all types of services but object with service type "ExternalName" does't define ports. That's why we had to remove required condition. Presence of ports in service types where ports are actually required is verified here: https://github.com/kubernetes/kubernetes/blob/master/pkg/api/validation/validation.go#L2439 For more information about ExternalName services see: http://kubernetes.io/docs/user-guide/services/#services-without-selectors Fixes kubernetes/kubernetes#34394
- Loading branch information