• Kubernetes Submit Queue's avatar
    Merge pull request #51198 from mattmoyer/rename-experimental-bootstrap-token-auth · 432790df
    Kubernetes Submit Queue authored
    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
    432790df
Name
Last commit
Last update
..
BUILD Loading commit data...
api_enablement.go Loading commit data...
authentication.go Loading commit data...
authorization.go Loading commit data...
cloudprovider.go Loading commit data...
serving.go Loading commit data...
storage_versions.go Loading commit data...
storage_versions_test.go Loading commit data...