1. 17 May, 2017 3 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #45739 from timothysc/cm_lock · 7f92d35f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888)
      
      Allow kcm and scheduler to lock on ConfigMaps.
      
      **What this PR does / why we need it**:
      Plumbs through the ability to lock on ConfigMaps through the kcm and scheduler.  
      
      **Which issue this PR fixes** 
      Fixes: #44857
      Addresses issues with: #45415
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```
      Add leader-election-resource-lock support to kcm and scheduler to allow for locking on ConfigMaps as well as Endpoints(default) 
      ```
      /cc @kubernetes/sig-cluster-lifecycle-pr-reviews @jamiehannaford @bsalamat @mikedanese
      7f92d35f
    • Kubernetes Submit Queue's avatar
      Merge pull request #44537 from FengyunPan/fix-volume-bug · f1716832
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888)
      
      Fix attach volume to instance repeatedly
      
      1.When volume's status is 'attaching', controllermanager will attach
          it again and return err. So it is necessary to check volume's
          status before attach/detach volume.
      
         2. When volume's status is 'attaching', its attachments will be None,
          controllermanager can't get device path and make some failed event.
          But it is normal, so don't return err when attachments is None
      
      Fix bug: #44536
      f1716832
    • Kubernetes Submit Queue's avatar
      Merge pull request #45374 from marun/fed-refactor-sync-controller · 0e735961
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888)
      
      [Federation] Refactor sync controller's reconcile method for maintainability
      
      This PR refactors the sync controllers reconcile method for maintainability with the goal of eliminating the need for type-specific controller unit tests.  The unit test coverage for reconcile is not complete, but I think it's a good start.
      
      cc: @kubernetes/sig-federation-pr-reviews
      0e735961
  2. 16 May, 2017 37 commits