1. 23 Jun, 2017 9 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #47195 from dims/bind-cadvisor-on-kubelet-interface · 467705be
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401)
      
      Run cAdvisor on the same interface as kubelet
      
      **What this PR does / why we need it**:
      
      cAdvisor currently binds to all interfaces. Currently the only
      solution is to use iptables to block access to the port. We
      are better off making cAdvisor to bind to the interface that
      kubelet uses for better security.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      Fixes #11710
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      cAdvisor binds only to the interface that kubelet is running on instead of all interfaces.
      ```
      467705be
    • Kubernetes Submit Queue's avatar
      Merge pull request #47922 from dnardo/ip-masq-agent · 9e71b122
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove limits from ip-masq-agent for now and disable ip-masq-agent in GCE
      
      ip-masq-agent when issuing an iptables-save will read any configured iptables on the node.  This means that the ip-masq-agent's memory requirements would grow with the number of iptables (i.e. services) on the node.
      
      
      
      **What this PR does / why we need it**:
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      #47865
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      ```
      9e71b122
    • Kubernetes Submit Queue's avatar
      Merge pull request #46923 from dims/nuke-wrapper-go-flags · e4af9dcc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923)
      
      Remove unnecessary wrapper flags
      
      **What this PR does / why we need it**:
      
      Drop KUBE_GOFLAGS, KUBE_GOGCFLAGS, KUBE_GOLDFLAGS references
      from the build infrastructure
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47296
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      e4af9dcc
    • Kubernetes Submit Queue's avatar
      Merge pull request #46896 from dims/add-git-branch-to-short-hash · d58b238b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923)
      
      Add git branch to make build short hash unique
      
      **What this PR does / why we need it**:
      
      KUBE_ROOT_HASH depends just on the host name and
      directory path. So when working with branches, it could lead
      to some confusion since the hash is the same even when
      you switch from branch to branch. Let us use the git branch
      information when we compute the short hash
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      Fixes #1801
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d58b238b
    • Kubernetes Submit Queue's avatar
      Merge pull request #46829 from cblecker/swagger-dir-fix · a509cbf9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923)
      
      Create output_dir if doesn't exist
      
      **What this PR does / why we need it**:
      Minor fix to the swagger spec gen, that if the directory doesn't exist, create it before copying.
      
      **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
      ```
      a509cbf9
    • Kubernetes Submit Queue's avatar
      Merge pull request #45984 from cblecker/hack-vet · dafe5783
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923)
      
      Move govet verify into rest of verify*-.sh scripts
      
      **What this PR does / why we need it**:
      Instead of having two govet scripts, consolidate them to into one and have both the Makefile and verify.sh scripts target the same script. This also will allow proper syntax highlighting and timing when the vet script is run as part of `make verify`.
      
      **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/test-infra/issues/2725
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /cc @fejta @rmmh
      dafe5783
    • Kubernetes Submit Queue's avatar
      Merge pull request #47921 from timstclair/audit-policy · f35f5ef4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Don't audit log tokens in TokenReviews
      
      We don't want to leak auth tokens in the audit logs, so only log TokenReview requests at the metadata level.
      
      Issue: kubernetes/features#22
      f35f5ef4
    • Kubernetes Submit Queue's avatar
      Merge pull request #45784 from xiangpengzhao/fix-integration-tips · 4e1b6083
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Give developer more help info when running integration tests without etcd found.
      
      **What this PR does / why we need it**:
      When running integration tests, if etcd version on env is lower than expected, developer will get info `You can use 'hack/install-etcd.sh' to install a copy in third_party/.` It would be better to have the same info if no etcd installed on env.
      
      **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
      ```
      4e1b6083
    • Daniel Nardo's avatar
      Remove limits from ip-masq-agent for now. · 630fb965
      Daniel Nardo authored
      ip-masq-agent when issuing an iptables-save will read
      any configured iptables on the node.  This means that
      the ip-masq-agent's memory requirements would grow
      with the number of iptables (i.e. services) on the node.
      
      Disable ip-masq-agent in GCE
      630fb965
  2. 22 Jun, 2017 31 commits