1. 12 May, 2017 1 commit
  2. 26 Apr, 2017 4 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #44826 from dims/enable-default-signer-in-local-up-cluster · 21f30db4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41287, 41636, 44881, 44826)
      
      Enable default signer implementation
      
      **What this PR does / why we need it**:
      
      The Kubernetes controller manager provides a default implementation
      of a signer. We should enable it by passing the --cluster-signing-cert-file
      and --cluster-signing-key-file parameters to the controller manager
      with paths to your Certificate Authority’s keypair. Hoping this will
      help pass the "Certificates API [It] should support building a client with a CSR"
      e2e test when run against k8s started using local-up-cluster.sh
      
      **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
      ```
      21f30db4
    • Kubernetes Submit Queue's avatar
      Merge pull request #44881 from perotinus/nofedpodstolog · 2d808b59
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41287, 41636, 44881, 44826)
      
      [Federation] Only attempt to log information about pods in federation/cluster/log-dump.sh if those pods exist.
      
      Fixes an issue where the script fails, because bash considers an empty array an unbound variable.
      **Release note**:
      ```release-note
      NONE
      ```
      2d808b59
    • Kubernetes Submit Queue's avatar
      Merge pull request #41636 from luxas/bump_go_18 · d03ca663
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41287, 41636, 44881, 44826)
      
      Bump to go1.8 and remove the edge GOROOT
      
      **What this PR does / why we need it**:
      
      Bumps to go1.8; we get:
       - performance improvements
       - build time improvements
       - the possibility to remove the hacky edge-GOROOT for arm and ppc64le that must use go1.8
       - all other awesome features that are included in go1.8: https://golang.org/doc/go1.8
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/kubernetes/kubernetes/issues/38228
      
      **Special notes for your reviewer**:
      
      @ixdy Please push the image ASAP so we can see if this passes all tests
      
      **Release note**:
      
      ```release-note
      Upgrade go version to v1.8
      ```
      cc @ixdy @bradfitz @jessfraz @wojtek-t @timothysc @spxtr @thockin @smarterclayton @bprashanth @gmarek
      d03ca663
    • Kubernetes Submit Queue's avatar
      Merge pull request #41287 from whitlockjc/webhook-tests · fd3171b3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41287, 41636, 44881, 44826)
      
      apiserver: add pkg/util/webhook tests
      
      This commit adds tests for pkg/util/webhooks.  The purpose of this was not only for better code coverage but also to alleviate the need for consumers to write their own tests for core functionality.
      
      **Reasoning**
      
      While working on the generic webhook admission plugin for https://github.com/kubernetes/community/pull/132, I found out that there are no tests for `staging/k8s.io/apiserver/pkg/util/webhook` and I also noticed that various places in the k8s sources were also replicating the same core tests that could/should be handled in `staging/k8s.io/apiserver/pkg/util/webhook`:
      
      * `staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_test.go`
      * `staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_test.go`
      * `plugin/pkg/admission/imagepolicy/admission_test.go`
      * _possibly more..._
      
      That's what this PR does, adds tests for `staging/k8s.io/apiserver/pkg/util/webhook` so that consumers no longer have to worry about testing client configuration issues, TLS issues, etc. just to use `staging/k8s.io/apiserver/pkg/util/webhook`.
      
      cc @cjcullen
      fd3171b3
  3. 25 Apr, 2017 35 commits