1. 18 Feb, 2017 4 commits
  2. 17 Feb, 2017 34 commits
  3. 16 Feb, 2017 2 commits
    • Shyam Jeedigunta's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #41509 from luxas/kubeadm_reorder_tokens · 2948c894
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 38101, 41431, 39606, 41569, 41509)
      
      kubeadm: Reorder the token packages more logically
      
      **What this PR does / why we need it**:
      
      In order to be able to implement https://github.com/kubernetes/kubernetes/pull/41417, the token functionality (which now is spread across the codebase), should be in two places: a generic token functions library, which in the future _may_ [move into client-go](https://github.com/kubernetes/kubernetes/pull/41281#discussion_r101357106) in some form, and a package for the token handling against the api server.
      
      This commit has no large functional changes.
      
      ```
      kubeadm: Aggregate the token functionality in sane packages.
          
       - Factor out token constants to kubeadmconstants.
       - Move cmd/kubeadm/app/util/{,token/}tokens.go
       - Use the token-id, token-secret, etc constants provided by the bootstrapapi package
       - Move cmd/kubeadm/app/master/tokens.go to cmd/kubeadm/app/phases/token/csv.go
          
      This refactor basically makes it possible to hook up kubeadm to the BootstrapSigner controller later on
      ```
      
      **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
      NONE
      ```
      @mikedanese @pires @errordeveloper @dmmcquay @jbeda @GheRivero
      2948c894