1. 19 May, 2017 9 commits
    • Jordan Liggitt's avatar
      Use name from node object on create · a2689736
      Jordan Liggitt authored
      a2689736
    • Kubernetes Submit Queue's avatar
      Merge pull request #45987 from nicksardo/cloud-init-kubeclient · ead8c98c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Initialize cloud providers with a K8s clientBuilder
      
      **What this PR does / why we need it**:
      This PR provides each cloud provider the ability to generate kubernetes clients. Either the full access or service account client builder is passed from the controller manager. Cloud providers could need to retrieve information from the cluster that isn't provided through defined interfaces, and this seems more preferable to adding parameters.
      
      Please leave your thoughts/comments.
      
      **Release note**:
      ```release-note
      NONE
      ```
      ead8c98c
    • Kubernetes Submit Queue's avatar
      Merge pull request #46056 from marun/fed-federated-updater-deletion-error · c0619947
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41535, 45985, 45929, 45948, 46056)
      
      [Federation] Fix bad logic of deletion error handling for federated updater
      
      Reverts a change accidentally added in #45364.
      
      cc: @kubernetes/sig-federation-pr-reviews
      c0619947
    • Kubernetes Submit Queue's avatar
      Merge pull request #45948 from CaoShuFeng/underscore · 5290eece
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41535, 45985, 45929, 45948, 46056)
      
      remove useless flags from hack/verify-flags/known-flags.txt
      
      Flags in known-flags.txt is used to check misspelling from "-" to "_" in
      workspace, so a flag with out "-" should not show up in this file.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      5290eece
    • Kubernetes Submit Queue's avatar
      Merge pull request #45929 from liggitt/node-admission · a9fbeef6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41535, 45985, 45929, 45948, 46056)
      
      NodeRestriction admission plugin
      
      Adds an optional `NodeRestriction` admission plugin that limits identifiable kubelets to mutating their own Node object, and Pod objects bound to their node.
      
      This is the admission portion of https://github.com/kubernetes/community/blob/master/contributors/design-proposals/kubelet-authorizer.md and kubernetes/features#279
      
      ```release-note
      The `NodeRestriction` admission plugin limits the `Node` and `Pod` objects a kubelet can modify. In order to be limited by this admission plugin, kubelets must use credentials in the `system:nodes` group, with a username in the form `system:node:<nodeName>`. Such kubelets will only be allowed to modify their own `Node` API object, and only modify `Pod` API objects that are bound to their node.
      ```
      a9fbeef6
    • Kubernetes Submit Queue's avatar
      Merge pull request #45985 from deads2k/tpr-16-finalizer · 61eace2b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41535, 45985, 45929, 45948, 46056)
      
      add CRD finalizer to remove CRs
      
      Fixes https://github.com/kubernetes/kubernetes/issues/45878
      
      This adds a finalizer for customresourcedefinitions to prevent CRD deletion until all CR instances are gone.
      
      @sdminonne I lost track of your issue, but here's the fix
      
      I'm at a loss for how to test this.  It's tested from the outside by ensuring that a CRD delete removes its instances (integration test) and we could add more integration tests, but for unit tests I can't seem to find a mock `dynamic.ClientPool` and its not easily writeable at the moment.  I'm thinking about saying we just add more black box tests given the options.
      61eace2b
    • Kubernetes Submit Queue's avatar
      Merge pull request #41535 from aanm/adding-ipv6-brackets · f57f0388
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41535, 45985, 45929, 45948, 46056)
      
      kubelet/envvars: Adding brackets to IPv6 addresses
      Signed-off-by: 's avatarAndré Martins <aanm90@gmail.com>
      
      **What this PR does / why we need it**: This adds IPv6 brackets on environments variables pods
      
      **Special notes for your reviewer**:
      
      Since the IP is a string I think the fastest way to detect if it's an IPv6 was to check for the presence of `:` in it. Let me know what you think.
      f57f0388
    • Kubernetes Submit Queue's avatar
      Merge pull request #45921 from pwittrock/kubectl-issues · b6211c6e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Redirect users filing kubectl issues to the kubernetes/kubectl repo
      b6211c6e
    • Kubernetes Submit Queue's avatar
      Merge pull request #45839 from caesarxuchao/client-gen-vendor · 8214f7bb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      let client-gen understand vendor
      
      This is extracted from #44784, where we move external api types to k8s.io/api. After the move, the types will locate at vendor/k8s.io/api/xxx. However, gengo index the parsed package using the import path, which is stripped of  the vendor/ prefix, so we'll need to strip the vendor/ prefix as necessary in client-gen.
      
      This PR doesn't produce any change to the generated clientset yet since all types are still in the kubernetes repo.
      8214f7bb
  2. 18 May, 2017 31 commits