k3s/pkg/kubelet/apis/kubeletconfig/validation
Kubernetes Submit Queue 18758f502c
Merge pull request #57594 from m1093782566/hairpin
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix incorrect hairpin-mode value and validate it

**What this PR does / why we need it**:

* Fix incorrect hairpin-mode value 

* Add validation

**Which issue(s) this PR fixes**:
Fixes #57609

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-12-26 03:59:59 -08:00
..
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
validation.go validate --hairpin-mode in kubelet config 2017-12-25 11:37:21 +08:00
validation_test.go validate --hairpin-mode in kubelet config 2017-12-25 11:37:21 +08:00