1. 07 Feb, 2017 10 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #40903 from yujuhong/security_opts · 98f97496
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40971, 41027, 40709, 40903, 39369)
      
      Set docker opt separator correctly for SELinux options
      
      This is based on @pmorie's commit from #40179
      98f97496
    • Kubernetes Submit Queue's avatar
      Merge pull request #40709 from liggitt/v1-sar · 460f4434
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40971, 41027, 40709, 40903, 39369)
      
      Promote SubjectAccessReview to v1
      
      We have multiple features that depend on this API:
      
      SubjectAccessReview
      - [webhook authorization](https://kubernetes.io/docs/admin/authorization/#webhook-mode)
      - [kubelet delegated authorization](https://kubernetes.io/docs/admin/kubelet-authentication-authorization/#kubelet-authorization)
      - add-on API server delegated authorization
      
      The API has been in use since 1.3 in beta status (v1beta1) with negligible changes:
      - Added a status field for reporting errors evaluating access
      - A typo was discovered in the SubjectAccessReviewSpec Groups field name
      
      This PR promotes the existing v1beta1 API to v1, with the only change being the typo fix to the groups field. (fixes https://github.com/kubernetes/kubernetes/issues/32709)
      
      Because the API does not persist data (it is a query/response-style API), there are no data migration concerns.
      
      This positions us to promote the features that depend on this API to stable in 1.7
      
      cc @kubernetes/sig-auth-api-reviews @kubernetes/sig-auth-misc
      
      ```release-note
      The authorization.k8s.io API group was promoted to v1
      ```
      460f4434
    • Kubernetes Submit Queue's avatar
      Merge pull request #41027 from dchen1107/master · 5d0377d2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40971, 41027, 40709, 40903, 39369)
      
      Bump GCI to gci-beta-56-9000-80-0
      
      cc/ @Random-Liu @adityakali 
      
      Changelogs since gci-dev-56-8977-0-0 (currently used in Kubernetes):
       - "net.ipv4.conf.eth0.forwarding" and "net.ipv4.ip_forward" may get reset to 0
       - Track CVE-2016-9962 in Docker in GCI
       - Linux kernel CVE-2016-7097
       - Linux kernel CVE-2015-8964
       - Linux kernel CVE-2016-6828
       - Linux kernel CVE-2016-7917
       - Linux kernel CVE-2016-7042
       - Linux kernel CVE-2016-9793
       - Linux kernel CVE-2016-7039 and CVE-2016-8666
       - Linux kernel CVE-2016-8655
       - Toolbox: allow docker image to be loaded from local tarball
       - Update compute-image-package in GCI 
       - Change the product name on /etc/os-release (to COS)
       - Remove 'dogfood' from HWID_OVERRIDE in /etc/lsb-release
       - Include Google NVME extensions to optimize LocalSSD performance.
       - /proc/<pid>/io missing on GCI (enables process stats accounting)
       - Enable BLK_DEV_THROTTLING
      
      cc/ @roberthbailey @fabioy for GKE cluster update
      5d0377d2
    • Kubernetes Submit Queue's avatar
      Merge pull request #40971 from kargakis/lack-of-progress-fix · 4db40cbd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40971, 41027, 40709, 40903, 39369)
      
      test: bump deployment condition timeout
      
      @fejta @spxtr ptal
      
      Fixes https://github.com/kubernetes/kubernetes/issues/39785
      4db40cbd
    • Kubernetes Submit Queue's avatar
      Merge pull request #35950 from nikhiljindal/nsdelreuse · 821e1712
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      federation: Refactoring namespaced resources deletion code from kube ns controller and sharing it with fed ns controller
      
      Ref https://github.com/kubernetes/kubernetes/issues/33612
      
      Refactoring code in kube namespace controller to delete all resources in a namespace when the namespace is deleted. Refactored this code into a separate NamespacedResourcesDeleter class and calling it from federation namespace controller.
      This is required for enabling cascading deletion of namespaced resources in federation apiserver.
      Before this PR, we were directly deleting the namespaced resources and assuming that they go away immediately. With cascading deletion, we will have to wait for the corresponding controllers to first delete the resources from underlying clusters and then delete the resource from federation control plane. NamespacedResourcesDeleter has this waiting logic.
      
      cc @kubernetes/sig-federation-misc @caesarxuchao @derekwaynecarr @mwielgus
      821e1712
    • Kubernetes Submit Queue's avatar
      Merge pull request #40996 from NickrenREN/openstack-servername · 2eebe956
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40385, 40786, 40999, 41026, 40996)
      
      optimize duplicate openstack serverList judgement
      
      if len(serverList) > 1, we will return err in pager.EachPage() function,so here we do not need to judge again
      2eebe956
    • Kubernetes Submit Queue's avatar
      Merge pull request #41026 from apprenda/kubeadm_fix_os_remove · 751cbc9b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40385, 40786, 40999, 41026, 40996)
      
      kubeadm: change os.Remove to os.RemoveAll
      
      **What this PR does / why we need it**: This would not correctly clean out the tmp dir, since os.Remove doesn't recursively remove dirs, which could exist in the tmp dir.
      
      Unit tests are a WIP from #34136
      
      **Special notes for your reviewer**: /cc @luxas @pires 
      
      **Release note**:
      ```release-note
      NONE
      ```
      751cbc9b
    • Kubernetes Submit Queue's avatar
      Merge pull request #40999 from xingzhou/tiny-bug · e0db0932
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40385, 40786, 40999, 41026, 40996)
      
      Fixed a tiny bug on using RoleBindingGenerator
      
      Fixed a typo bug while using RoleBindingGenerator, this
      bug causes error when binding role to service accounts
      through "kubectl create rolebinding" command.
      e0db0932
    • Kubernetes Submit Queue's avatar
      Merge pull request #40786 from madhusudancs/fed-e2e-svc-nocluster-refactor · a09c0796
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40385, 40786, 40999, 41026, 40996)
      
      Refactor federated services tests a bit to move a test that requires no cluster creation to a separate block.
      
      Follow up to PR #40769.
      
      cc @kubernetes/sig-federation-pr-reviews
      a09c0796
    • Kubernetes Submit Queue's avatar
      Merge pull request #40385 from ncdc/shared-informers-02-swap-existing · 9abfa6b4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Replace hand-written informers with generated ones
      
      Replace existing uses of hand-written informers with generated ones.
      Follow-up commits will switch the use of one-off informers to shared
      informers.
      
      This is a precursor to #40097. That PR will switch one-off informers to shared informers for the majority of the code base (but not quite all of it...).
      
      NOTE: this does create a second set of shared informers in the kube-controller-manager. This will be resolved back down to a single factory once #40097 is reviewed and merged.
      
      There are a couple of places where I expanded the # of caches we wait for in the calls to `WaitForCacheSync` - please pay attention to those. I also added in a commented-out wait in the attach/detach controller. If @kubernetes/sig-storage-pr-reviews is ok with enabling the waiting, I'll do it (I'll just need to tweak an integration test slightly).
      
      @deads2k @sttts @smarterclayton @liggitt @soltysh @timothysc @lavalamp @wojtek-t @gmarek @sjenning @derekwaynecarr @kubernetes/sig-scalability-pr-reviews
      9abfa6b4
  2. 06 Feb, 2017 30 commits