1. 21 Jun, 2017 1 commit
  2. 16 Jun, 2017 1 commit
  3. 15 Jun, 2017 19 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #47462 from derekwaynecarr/strip-container-id-events · 562e721e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Strip container id from events
      
      **What this PR does / why we need it**:
      reduces spam events from kubelet in bad pod scenarios
      
      **Which issue this PR fixes**:
      relates to https://github.com/kubernetes/kubernetes/issues/47366
      
      **Special notes for your reviewer**:
      pods in permanent failure states created unique events
      
      **Release note**:
      ```release-note
      None
      ```
      562e721e
    • Kubernetes Submit Queue's avatar
      Merge pull request #47491 from derekwaynecarr/fix-image-name-validation · 23aafdab
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      image name must not have leading or trailing whitespace
      
      **What this PR does / why we need it**:
      verifies that an image name can not have leading or trailing whitespace
      
      **Which issue this PR fixes**
      fixes https://github.com/kubernetes/kubernetes/issues/47490
      
      **Special notes for your reviewer**:
      i was surprised we had not caught this, so if there is an image spec that says leading and trailing whitespace is a good thing, i am open to correction.
      
      i was made aware of downstream users of validate pod template spec that used " " as a special token.  as a result, i only do the validation of image name " " in the `Pod` only.
      
      **Release note**:
      ```release-note
      NONE
      ```
      23aafdab
    • Kubernetes Submit Queue's avatar
      Merge pull request #45764 from krmayankk/depl-del-rs · 289de0ee
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47492, 47542, 46800, 47545, 45764)
      
      delete dependent pods for rs when deleting deployments
      
      Fix #44046, where user reported that the garbage collector didn't delete pods when a deployment was deleted with PropagationPolicy=Background.
      289de0ee
    • Kubernetes Submit Queue's avatar
      Merge pull request #47545 from ixdy/update-1.7-images · 79eb0abc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47492, 47542, 46800, 47545, 45764)
      
      Update addons with upstream CVE fixes
      
      **What this PR does / why we need it**: refreshes the cluster-proportional-autoscaler, metadata-proxy, and fluentd-gcp addons with new base images with fixes for the following vulnerabilities:
      * CVE-2016-4448
      * CVE-2016-8859
      * CVE-2016-9841
      * CVE-2016-9843
      * CVE-2017-9526
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: x-ref #47386, though there are still a few images left to update
      
      **Release note**:
      
      ```release-note
      Update cluster-proportional-autoscaler, metadata-proxy, and fluentd-gcp addons with fixes for CVE-2016-4448, CVE-2016-8859, CVE-2016-9841, CVE-2016-9843, and CVE-2017-9526.
      ```
      
      /cc @timstclair @MrHohn @Q-Lee @crassirostris
      79eb0abc
    • Kubernetes Submit Queue's avatar
      Merge pull request #46800 from deads2k/agg-33-priority · 08c705e8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47492, 47542, 46800, 47545, 45764)
      
      separate group and version priority
      
      Fixes https://github.com/kubernetes/kubernetes/issues/46322
      
      
      This just modifies the API and does the minimal plumbing.  I can extend this pull or do another to fix the priority problem.
      08c705e8
    • Kubernetes Submit Queue's avatar
      Merge pull request #47542 from enisoc/tpr-watch · 8cbf3a33
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47492, 47542, 46800, 47545, 45764)
      
      Fix TPR watches.
      
      Fixes #47027
      
      TPR watch has been broken since #44350.
      8cbf3a33
    • Kubernetes Submit Queue's avatar
      Merge pull request #47492 from bowei/fix-gci-gcloud · b2d844bd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix dangling reference to gcloud alpha API for GCI (should be beta)
      
      This reference to the alpha API was missed (fixed in GCE, but not GCI)
      
      Fixes #47494
      
      ```release-note
      none
      ```
      b2d844bd
    • Kubernetes Submit Queue's avatar
      Merge pull request #47537 from sakshamsharma/fix/typo_secretbox_prefix · 79138066
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47510, 47516, 47482, 47521, 47537)
      
      Fix typo in secretbox transformer prefix
      
      Introduced by #46916 via cherry picked commit [here](https://github.com/sakshamsharma/kubernetes/commit/12bb591dbf485dcedc87ffeba13bb7890e8fd515).
      
      Urgent fix in my opinion, ideally should be merged before production.
      
      @smarterclayton
      79138066
    • Kubernetes Submit Queue's avatar
      Merge pull request #47521 from squeed/release-1.7 · 877308bb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47510, 47516, 47482, 47521, 47537)
      
      cni: Don't try and map ports with an unset HostPort
      
      The CNI Host function GetPodPortMappings also includes unmapped ports (this is apparently by design). This is normal, and the CNI network plugin invoker should not attempt to map these ports.
      
      This matches the functionality in the kubenet hostport mapper.
      
      Fixes: #47529
      877308bb
    • Kubernetes Submit Queue's avatar
      Merge pull request #47482 from timstclair/audit-policy · 45423351
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47510, 47516, 47482, 47521, 47537)
      
      Fix typos in audit policy config
      
      For kubernetes/features#22
      45423351
    • Kubernetes Submit Queue's avatar
      Merge pull request #47516 from gnufied/fix-filter-limit-aws · 8e4ec18a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47510, 47516, 47482, 47521, 47537)
      
      Batch AWS getInstancesByNodeNames calls with FilterNodeLimit
      
      We are going to limit the getInstancesByNodeNames call with a batch
      size of 150.
      
      Fixes - #47271
      
      ```release-note
      AWS: Batch DescribeInstance calls with nodeNames to 150 limit, to stay within AWS filter limits.
      ```
      8e4ec18a
    • Kubernetes Submit Queue's avatar
      Merge pull request #47510 from mwielgus/allow-zero-size-migs · fa23890b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47510, 47516, 47482, 47521, 47537)
      
      Allow autoscaler min at 0 in GCE
      
      Allow scaling migs to zero in GCE startup scripts. This only makes sense when there is more than 1 mig. The main use case (for now) will be to test scaling to to zero in e2e tests.
      fa23890b
    • Kubernetes Submit Queue's avatar
      Merge pull request #47478 from cjcullen/logs · bcccbc3d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Don't test the debug /logs endpoint on GKE.
      
      GKE will not enable the /logs endpoint in 1.7. I'd like this test to still test the other cluster level endpoints.
      bcccbc3d
    • Kubernetes Submit Queue's avatar
      Merge pull request #47546 from kubernetes/revert-47094-requestCAFile · ad43147e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Revert "Set up proxy certs for Aggregator."
      
      Reverts kubernetes/kubernetes#47094
      
      Fixed https://github.com/kubernetes/kubernetes/issues/47534
      ad43147e
    • Kubernetes Submit Queue's avatar
      Merge pull request #47099 from mengqiy/add_junit_for_cmd_tests · 304106f0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47204, 46808, 47432, 47400, 47099)
      
      support junit in test-cmd
      
      Output junit result for cmd tests.
      
      Fixes #45196
      
      There will be a followup PR to refactor the cmd test into functions as test cases there is not a lot changes in `hack/make-rules/test-cmd-util.sh`
      
      ```release-note
      NONE
      ```
      304106f0
    • Kubernetes Submit Queue's avatar
      Merge pull request #47400 from chakri-nelluri/fixgetvolumename · eb26aa55
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47204, 46808, 47432, 47400, 47099)
      
      Remove broken getvolumename and pass PV or volume name to attach call
      
      Cherry-picking https://github.com/kubernetes/kubernetes/pull/46249 to master
      
      What this PR does / why we need it:
      Flex getvolumename is broken in 1.6. It needs to be fixed comprehensively in 1.7 release. Removing the api in 1.6. Also pass PV or volume name to the driver during attach call. Detach uses PV or volume name, so plugin can use that information to map to PV.
      Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
      Fixes - #44737
      eb26aa55
    • Kubernetes Submit Queue's avatar
      Merge pull request #47432 from deads2k/crd-13-gc-off · d2eb68c4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47204, 46808, 47432, 47400, 47099)
      
      disable GC for custom resources
      
      xref https://github.com/kubernetes/kubernetes/issues/47431
      
      This prevents GC on CustomResources so you don't get an uncleared finalizer that prevents deletion
      d2eb68c4
    • Kubernetes Submit Queue's avatar
      Merge pull request #46808 from caesarxuchao/make-daniels-pr-dynamic · 29398379
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47204, 46808, 47432, 47400, 47099)
      
      Make the generic webhook admission controller use the dynamic webhook config manager
      
      Based on #46672 and #46388.
      
      Only the last commit is unique.
      
      * removed `SetWebhookSource` from the PluginInitializer
      * implemented `SetExternalClientset` for the generic webhook admisson controller, initializing an ExternalWebhookConfigurationManager in the method.
      29398379
    • Kubernetes Submit Queue's avatar
      Merge pull request #47204 from janetkuo/kubectl-apply-change-cause · ef20034a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47204, 46808, 47432, 47400, 47099)
      
      Make kubectl apply add change-cause before patching
      
      **What this PR does / why we need it**: We shouldn't patch the project with applied change, and then patch again with the change cause. Otherwise, DaemonSet change cause wouldn't be copied to its history (after the first patch, history will be created with the old change cause). 
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47210
      
      **Special notes for your reviewer**: 
      /assign @mengqiy 
      @kubernetes/sig-apps-bugs @kubernetes/sig-cli-maintainers 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      ef20034a
  4. 14 Jun, 2017 19 commits