Files
kubernetes/hack
Kubernetes Submit Queue dc7ff475d0 Merge pull request #53121 from WanLinghao/kube_dns_already_exist
Automatic merge from submit-queue (batch tested with PRs 52634, 53121, 53161). 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 clusterrolebindings duplicate create in local-up-cluster.sh

Changes to be committed:
  modified:   hack/local-up-cluster.sh



**What this PR does / why we need it**:
currently ,execute hack/local-up-cluster.sh will produce an error :

> Creating kube-system namespace
> Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "system:kube-dns" 
> already exists
> serviceaccount "kube-dns" created

it was caused by duplicate creation in script.
kube-api-server  with RBAC option creates system:kube-dns and kubectl create it again.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-09-27 20:35:28 -07:00
..
2017-02-01 15:18:32 -05:00
2017-07-05 14:24:25 -07:00
2017-09-19 18:10:21 +05:30
2017-07-31 15:10:56 -07:00
2017-07-25 12:11:07 -07:00
2017-08-27 22:20:04 -04:00
2017-08-02 10:39:26 -07:00
2017-06-05 13:18:07 -07:00
2017-05-19 10:17:37 -06:00