k3s/pkg/kubeapiserver/options
Kubernetes Submit Queue 432790df88 Merge pull request #51198 from mattmoyer/rename-experimental-bootstrap-token-auth
Automatic merge from submit-queue (batch tested with PRs 50713, 47660, 51198, 51159, 51195)

kubeapiserver: rename `--experimental-bootstrap-token-auth` to `--enable-bootstrap-token-auth`.

#**What this PR does / why we need it**:
This change renames the API server `--experimental-bootstrap-token-auth` flag to `--enable-bootstrap-token-auth`. The old flag is accepted but generates a warning.

In 1.9, we will drop support for `--experimental-bootstrap-token-auth` entirely.

#### Example of the warning log:
```
$ kube-apiserver --experimental-bootstrap-token-auth --etcd-servers https://127.0.0.1:1234 --service-cluster-ip-range 10.0.1.0/24
Flag --experimental-bootstrap-token-auth has been deprecated, use --enable-bootstrap-token-auth instead.
[...]
```

**Which issue this PR fixes** fixes https://github.com/kubernetes/kubernetes/issues/50613

**Release note**:
```release-note
Renamed the API server flag `--experimental-bootstrap-token-auth` to `--enable-bootstrap-token-auth`. The old value is accepted with a warning in 1.8 and will be removed in 1.9.
```

/sig cli
/sig cluster-lifecycle

cc @luxas
2017-08-24 11:17:09 -07:00
..
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
api_enablement.go move --runtime-config to kubeapiserver 2017-02-07 13:43:13 -05:00
authentication.go Merge pull request #51198 from mattmoyer/rename-experimental-bootstrap-token-auth 2017-08-24 11:17:09 -07:00
authorization.go Delete "hard-coded" default value in flags usage. 2017-04-07 11:21:37 +08:00
cloudprovider.go Set external hostname in local-up-cluster 2017-07-24 07:58:46 -04:00
serving.go Delete "hard-coded" default value in flags usage. 2017-04-07 11:21:37 +08:00
storage_versions.go streamline etcd options for aggregated api server 2017-02-08 09:07:47 -05:00
storage_versions_test.go remove unneeded storage options 2017-01-31 13:44:39 -05:00