Files
kubernetes/hack
Kubernetes Submit Queue 8438cbe669 Merge pull request #60483 from hzxuzhonghu/kube-apiserver-runoptions
Automatic merge from submit-queue (batch tested with PRs 58420, 60483). 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>.

Kube apiserver ServerRunOptions set default called before use

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

move `ServerRunOptions` set default function  `defaultOptions` out of `CreateKubeAPIServerConfig`, it should be called before real use `CreateNodeDialer`. So move it to cobra.Command just after kube-apiserver flags parsed.

Similarly `ServerRunOptions.Validate` move there too.

**Release note**:

```release-note
NONE
```
2018-04-04 05:03:08 -07:00
..
2018-02-16 13:43:01 -08:00
2017-09-19 18:10:21 +05:30
2018-02-01 07:23:50 -08:00
2018-01-30 09:29:51 -08:00
2018-03-29 17:01:32 -07:00
2017-08-27 22:20:04 -04:00
2018-01-22 15:11:16 -08:00
2018-03-29 17:01:32 -07:00
2018-01-09 23:09:08 -08:00
2018-03-29 17:01:30 -07:00
2018-01-09 23:09:08 -08:00
2018-03-29 17:01:30 -07:00
2018-03-29 17:01:30 -07:00