Files
kubernetes/pkg/api
Kubernetes Submit Queue 41541910e1 Merge pull request #46809 from rickypai/rpai/properly_validate_hostalias_hostnames
Automatic merge from submit-queue (batch tested with PRs 46977, 47005, 47018, 47061, 46809)

Fix HostAlias to validate against DNS1123 hostname instead of just labels

**What this PR does / why we need it**: the validation for HostAlias was validating the hostnames against DNS labels instead of hostnames. This means hostnames like `foo.bar` would fail. I did not catch this because unit test cases only had hostnames like `foo`.

**Which issue this PR fixes**: fixes issue introduced in #44641

**Release note**:
```release-note
fixed HostAlias in PodSpec to allow `foo.bar` hostnames instead of just `foo` DNS labels.
```
2017-06-07 08:10:50 -07:00
..
2017-04-14 10:40:57 -07:00
2017-02-02 15:19:04 +01:00
2017-04-14 10:40:57 -07:00
2017-04-14 10:40:57 -07:00
2017-04-14 10:40:57 -07:00
2017-05-31 16:38:47 -07:00
2017-06-06 12:00:28 -07:00
2017-02-03 17:37:42 +08:00
2017-02-09 11:42:22 -05:00
2016-07-16 13:48:21 -04:00
API
2017-02-28 23:05:40 -08:00
2016-09-28 10:53:30 -07:00
2017-04-13 10:02:43 -07:00
2017-05-31 13:06:39 -07:00