Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rancher/client-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.1
Choose a base ref
...
head repository: rancher/client-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.0
Choose a head ref

Commits on Mar 10, 2017

  1. Move certificate manager to client.

    Kubernetes-commit: 415c4d2c3af1fadb839bf4b73c6ea16db6b8c59f
    jcbsmpsn authored and k8s-publish-robot committed Mar 10, 2017
    Copy the full SHA
    1bb4ecc View commit details

Commits on Jun 17, 2017

  1. fix typos: remove duplicated word in comments

    Kubernetes-commit: 87c29a08e1f51b2989ff15fc3e5857bc287e401f
    supereagle authored and k8s-publish-robot committed Jun 17, 2017
    Copy the full SHA
    c489f97 View commit details

Commits on Aug 15, 2017

  1. client-go: simplify deepcopy calls

    Kubernetes-commit: ed423054ba0089a6d58fb0e048fe1acfd966f0d7
    sttts authored and k8s-publish-robot committed Aug 15, 2017
    Copy the full SHA
    7cdaec7 View commit details

Commits on Aug 28, 2017

  1. Import gophercloud package first

    Kubernetes-commit: 0c7d7becf8d1cb7a4ee1c8495c19afd644784cd1
    NickrenREN authored and k8s-publish-robot committed Aug 28, 2017
    Copy the full SHA
    40083c8 View commit details

Commits on Sep 1, 2017

  1. add verify case in index_test.go

    Kubernetes-commit: 4ab3f4500164d9a15628c4646810f67b37e57023
    wackxu authored and k8s-publish-robot committed Sep 1, 2017
    Copy the full SHA
    d31224a View commit details

Commits on Sep 4, 2017

  1. Move regexp.MustCompile to global variable

    Kubernetes-commit: 34747474659b26456c3615d9f79d014deacf505a
    sergeylanzman authored and k8s-publish-robot committed Sep 4, 2017
    Copy the full SHA
    302b364 View commit details

Commits on Sep 13, 2017

  1. Add new Events API group

    Kubernetes-commit: 69e2a9cb48fd49cf1449042984ea9c25edc0598c
    gmarek authored and k8s-publish-robot committed Sep 13, 2017
    Copy the full SHA
    a51b722 View commit details
  2. Enable go race detection for bazel tests.

    There are a couple tests that need to run without race detection
    enabled. See issue 39649 for details.
    
    Kubernetes-commit: d4676b67539419aced720772b13f556de8065fc1
    spxtr authored and k8s-publish-robot committed Sep 13, 2017
    Copy the full SHA
    88ea2ee View commit details

Commits on Sep 15, 2017

  1. client-go: Truncate body based on Verbosity level

    Kubernetes-commit: b4304f8e79f8227fc7841ecc7cb80b94cbbd493d
    Antoine Pelisse authored and k8s-publish-robot committed Sep 15, 2017
    Copy the full SHA
    90239c1 View commit details

Commits on Sep 19, 2017

  1. bump(github.com/go-openapi/spec): 7abd5745472fff5eb3685386d5fb8bf3868…

    …3154d
    
    Kubernetes-commit: 9968c18a6cf11e3c4461e1d6bc9ab4de5625c202
    nikhita authored and k8s-publish-robot committed Sep 19, 2017
    Copy the full SHA
    9138498 View commit details

Commits on Sep 20, 2017

  1. update comment code mistake

    Kubernetes-commit: 58687b891fc8ae2fd226ffd67f8e1c2e06db1a1b
    zouyee authored and k8s-publish-robot committed Sep 20, 2017
    Copy the full SHA
    1d75f4f View commit details

Commits on Sep 21, 2017

  1. Update gophercloud to Handle New Identity Endpoints

    Currently openstack cloud provider just support keystone v2.0 and v3
    The latest Identity Service is publishing an ID of v3.8, we should
    update gophercloud to recognize v3.8 as a valid version id.
    
    Kubernetes-commit: f98326b7f9364f6a5c3e336af1279833713e73c9
    FengyunPan authored and k8s-publish-robot committed Sep 21, 2017
    Copy the full SHA
    9678eb0 View commit details
  2. Use buildozer to remove deprecated automanaged tags

    Kubernetes-commit: 532bd482dfbe25c6fc970d2175f7e02fec2fc8c0
    ixdy authored and k8s-publish-robot committed Sep 21, 2017
    Copy the full SHA
    54288be View commit details
  3. Use buildozer to delete licenses() rules

    Kubernetes-commit: 02fb4200dcdf8636eac5953d04b2c4af912f443b
    ixdy authored and k8s-publish-robot committed Sep 21, 2017
    Copy the full SHA
    8741eb9 View commit details

Commits on Sep 23, 2017

  1. Enable API chunking and promote to beta for 1.9

    All list watchers default to using chunking.
    
    Kubernetes-commit: 113889e72da573946f3389b628251647c2a858b9
    smarterclayton authored and k8s-publish-robot committed Sep 23, 2017
    Copy the full SHA
    f49c543 View commit details

Commits on Sep 25, 2017

  1. oidc client auth: better error when refresh response is missing id_token

    Kubernetes-commit: a8914b73a12583c29bdee333528a55a5b3e5db1f
    ericchiang authored and k8s-publish-robot committed Sep 25, 2017
    Copy the full SHA
    0b1f8b0 View commit details

Commits on Sep 26, 2017

  1. Ring buffer for notifications

    Results from BenchmarkListener:
    Current code:
    1000000	      1540 ns/op	     109 B/op	       1 allocs/op
    
    New:
    1000000	      1139 ns/op	      16 B/op	       1 allocs/op
    
    Kubernetes-commit: 1940f5a5d2acce377ab16b5561f3d9002fb2a319
    ash2k authored and k8s-publish-robot committed Sep 26, 2017
    Copy the full SHA
    00c624b View commit details

Commits on Sep 28, 2017

  1. vendor/k8s.io/client-go/tools/record: Fix two swallowed errors in tests

    Kubernetes-commit: b64a0a8f5aad2403a55fb3ec035c35702b0b9ab9
    alrs authored and k8s-publish-robot committed Sep 28, 2017
    Copy the full SHA
    f6d2dca View commit details
  2. Update generated files

    Kubernetes-commit: 60a0eb260cc0c780b3dd2ff9e092db0519f6a6cf
    sttts authored and k8s-publish-robot committed Sep 28, 2017
    Copy the full SHA
    e58a2c7 View commit details
  3. Merge pull request #53177 from alrs/fix-client-go-record-swallowed-er…

    …rors
    
    Automatic merge from submit-queue (batch tested with PRs 49249, 53203, 53209, 53208, 53177). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    vendor/k8s.io/client-go/tools/record: Fix two swallowed errors in tests
    
    **What this PR does / why we need it**: Fixes two dropped errors in client-go.
    
    ```release-note NONE
    ```
    
    Kubernetes-commit: f369c1af596ecd8b5b54916a0cbbface8f422121
    k8s-publish-robot committed Sep 28, 2017
    Copy the full SHA
    e1ccf9f View commit details
  4. kubectl: Remove swagger 1.2 entirely.

    Kubernetes-commit: d1ce36371e637f159256f1f43e3590926ff906d5
    Antoine Pelisse authored and k8s-publish-robot committed Sep 28, 2017
    Copy the full SHA
    5e3eb38 View commit details

Commits on Sep 29, 2017

  1. Autogen

    Kubernetes-commit: fd48a4a8959c272099aa3818ad94f25f39cfe43e
    janetkuo authored and k8s-publish-robot committed Sep 29, 2017
    Copy the full SHA
    6dbd395 View commit details

Commits on Sep 30, 2017

  1. Panic on failure to calculate index key

    Kubernetes-commit: 65369a68a1f6ff01d8d108ccd8424f92013ae876
    ash2k authored and k8s-publish-robot committed Sep 30, 2017
    Copy the full SHA
    f660c1f View commit details

Commits on Oct 1, 2017

  1. Collapse duplicate code into pkg/util/csr

    There is no reason to duplicate this code into two places.
    
    Kubernetes-commit: c3bea24ab6242b084e7d09073c8906c778611243
    smarterclayton authored and k8s-publish-robot committed Oct 1, 2017
    Copy the full SHA
    bb96050 View commit details

Commits on Oct 4, 2017

  1. client-go: Update CRUD example

    This updates the create-update-delete-deployment example with the following:
    Add rollback step to demonstrate rolling back deployments with client-go.
    Modify the for-loops used in both Update steps to Get() the latest version
    of the Deployment from the server before attempting Update().
    This is necessary because the object returned by Create() does
    not have the new resourceVersion, causing the initial Update() to always fail
    due to conflicting resource versions. Putting the Get() at the top of the
    loop seems to fix this bug.
    Make -kubeconfig flag optional if config is in default location, using the
    same method found in the out-of-cluster example.
    
    Patch is motivated by effort to improve client-go examples.
    
    Signed-off-by: John Kelly <jekohk@gmail.com>
    
    Kubernetes-commit: ce73088a718c30d8a3577f5d0521584b9c201e69
    John Kelly authored and k8s-publish-robot committed Oct 4, 2017
    Copy the full SHA
    4e80b27 View commit details
  2. [client-go] avoid Registry in fake REST client

    Previously, the fake RESTClient in client-go required a Registry.  It
    used the Registry to fetch the GroupVersion for the fake client.
    However, the way it did so was dubious in some cases (it hard-coded the
    default API group in places), and not strictly necssary.
    
    This updates the fake client to just recieve the GroupVersion and
    internal group name directly, instead of requiring a Registry, so that
    it can be consumed in unit tests where a Registry isn't necessarily
    readily available (e.g. elsewhere in client-go).
    
    Kubernetes-commit: eac2049fc9a151a7cbd6652e039506376574e0a9
    DirectXMan12 authored and k8s-publish-robot committed Oct 4, 2017
    Copy the full SHA
    4e3b79a View commit details

Commits on Oct 5, 2017

  1. cache.ListWatchUntil should return err.ErrWaitTimeout

    Clients shouldn't have to know about watch.ErrWatchClosed, which is
    typically a server side decision to close and always means "Timeout" in
    this conetxt.
    
    Kubernetes-commit: cbecf177274e6f6924d6ca756eccf0a55e2933c0
    smarterclayton authored and k8s-publish-robot committed Oct 5, 2017
    Copy the full SHA
    8c1471a View commit details
  2. Have the certificate manager decide if the server is healthy

    Prevent a Kubelet from shutting down when the server isn't responding to
    us but we cannot get a new certificate. This allows a cluster to coast
    if the master is unresponsive or a node is partitioned and their client
    cert expires.
    
    Kubernetes-commit: b3a11aa635022761637090f4fc8d5cb57f3f0010
    smarterclayton authored and k8s-publish-robot committed Oct 5, 2017
    Copy the full SHA
    f7a735a View commit details
  3. client-go: use retry util in CRUD example

    This updates the create-update-delete-deployment example with the following:
    Make use of client-go retry util in Update() steps instead of simple for loops.
    Using RetryOnConflict is generally better practice as it won't become stuck in a retry loop and uses exponential backoff to prevent exhausting the apiserver.
    Instead of changing annotations to demonstrate Updates/Rollbacks, change the container image as it is less confusing for readers and a better real-world example.
    Improve comments and README to reflect above changes.
    
    Signed-off-by: John Kelly <jekohk@gmail.com>
    
    Kubernetes-commit: 94f5bcf6f77d5b35074dfab47b5de37096d8ee00
    John Kelly authored and k8s-publish-robot committed Oct 5, 2017
    Copy the full SHA
    ddf6c35 View commit details

Commits on Oct 6, 2017

  1. apimachinery: mechanical removal of ObjectCopier plumbing

    Kubernetes-commit: 509df603b18d356777176953e5d160b6f3d0bba9
    sttts authored and k8s-publish-robot committed Oct 6, 2017
    Copy the full SHA
    0cfc379 View commit details
  2. Merge pull request #53202 from sttts/sttts-unify-generator-mains

    Automatic merge from submit-queue (batch tested with PRs 53434, 53202). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    code-generator: unify generator main funcs and prepare for launching from one binary
    
    - remove "generated by client-gen with custom arguments" message as this does not
      make sense in the times of k8s.io/code-generator
    - unify generator main funcs and explicitly call pflag.AddFlags and pflag.Parse. This
      will allow to instantiate the generators also from other places.
    
    Requires kubernetes/gengo#80.
    
    Closes kubernetes/kubernetes#53522.
    
    Kubernetes-commit: 6ac018af01bd27054452cf04adaa05cf61f1e82a
    k8s-publish-robot committed Oct 6, 2017
    Copy the full SHA
    6e4f879 View commit details

Commits on Oct 8, 2017

  1. client-go: fix err scope in CRUD example

    This fixes some scope isses that were introduced by shadowing vars inside anonymous functions as well as using a naked return.
    Fixed by using unique err names and explicitly returning errors.
    Additional improvement is using the HomeDir() util function provided by client-go instead of including a helper function at the bottom of this example.
    
    Signed-off-by: John Kelly <jekohk@gmail.com>
    
    Kubernetes-commit: e71c9f1b4beb06bcd3694163e6bf1764fb49edd6
    John Kelly authored and k8s-publish-robot committed Oct 8, 2017
    Copy the full SHA
    d6f3ab1 View commit details

Commits on Oct 10, 2017

  1. autogenerated code

    Kubernetes-commit: 7c772ab2adc20d70315a938d976006bf9d390cdd
    Kenneth Owens authored and k8s-publish-robot committed Oct 10, 2017
    Copy the full SHA
    85e068b View commit details

Commits on Oct 11, 2017

  1. Move pkg/kubelet/util/csr into client-go

    Everything else it depends on was already there, and now we have a
    somewhat consistent code chain.
    
    Kubernetes-commit: 5649f9a578f4f130f61579d77d5609fbdaf82a1f
    smarterclayton authored and k8s-publish-robot committed Oct 11, 2017
    Copy the full SHA
    1372839 View commit details
  2. [client-go] fake discovery returns server groups

    The fake discovery client currently returns `nil, nil` for several
    methods.  Among them is the `ServerGroups` method, which is used by the
    discovery REST mapper implementations.  This updates the fake discovery
    client to actually return server groups so that the discovery REST
    mapper can be used in tests.
    
    Kubernetes-commit: f83a19676c0b53b2c2240d11d58e9d35c31d9ff5
    DirectXMan12 authored and k8s-publish-robot committed Oct 11, 2017
    Copy the full SHA
    5e8cd58 View commit details
  3. [client-go] Polymorphic Scale Client

    This introduces a polymorphic scale client capable of operating against
    scale subresources which return different group-versions of Scale.  The
    scale subresources may be in group-versions different than the scale
    itself, so that we no longer need a copy of every scalable resource in
    the extensions API group.
    
    To discovery which Scale group-versions go to which subresources,
    discovery is used.
    
    The scale client maintains its own internal versions and conversions to
    several external versions, with a "hub" version that's a copy of the
    autoscaling internal version.
    
    It currently supports the following group-versions for Scale subresources:
    
    - extensions/v1beta1.Scale
    - autoscaling/v1.Scale
    
    Kubernetes-commit: d61a2d90372c301dd11088df8941acf2bb01c38c
    DirectXMan12 authored and k8s-publish-robot committed Oct 11, 2017
    Copy the full SHA
    bb89f2c View commit details

Commits on Oct 12, 2017

  1. perform nil check before iterating over keys

    Kubernetes-commit: 1fcd410d4ae9b8dbe3cf5d340582f078abc7b2b4
    juanvallejo authored and k8s-publish-robot committed Oct 12, 2017
    Copy the full SHA
    3df32f5 View commit details
  2. update BUILD files

    Kubernetes-commit: aee5f457dbfd70c2d15c33e392dce6a3ca710116
    ixdy authored and k8s-publish-robot committed Oct 12, 2017
    Copy the full SHA
    c92755e View commit details

Commits on Oct 13, 2017

  1. [client-go] Add fake scale client

    This adds a new fake scale client (for use in testing) to match the
    new polymorphic scale client.
    
    Kubernetes-commit: f22bfcd65acafc75235665feac3b147f16e30998
    DirectXMan12 authored and k8s-publish-robot committed Oct 13, 2017
    Copy the full SHA
    22e2e0e View commit details

Commits on Oct 16, 2017

  1. Merge pull request #52778 from zouyee/mis

    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..
    
    update comment code mistake
    
    **What this PR does / why we need it**:
    update comment code mistake
    
    Kubernetes-commit: 798e5805d7ede74492097dec62d94d2b1fa67363
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    7be903a View commit details
  2. Merge pull request #51542 from sttts/sttts-deepcopy-client-go

    Automatic merge from submit-queue (batch tested with PRs 51929, 52015, 51906, 52069, 51542). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..
    
    client-go: simplify deepcopy calls
    
    Kubernetes-commit: a3cc5dc3841b9f3f55f04e017fba8269ae6b7141
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    7dbd7b4 View commit details
  3. Merge pull request #52443 from spxtr/racercar

    Automatic merge from submit-queue (batch tested with PRs 52485, 52443, 52597, 52450, 51971). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..
    
    Enable go race detection for bazel tests.
    
    Testing if setting `features = ["-race"]` fixes the breaks in #50792.
    
    **Release note**:
    ```release-note
    NONE
    ```
    
    Kubernetes-commit: e371f8ab1dd5f0e8d7703ff76e7e2499c5f4aef8
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    282f931 View commit details
  4. Merge pull request #52873 from ixdy/bazel-cleanup

    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..
    
    bazel: build/test almost everything
    
    **What this PR does / why we need it**: Miscellaneous cleanups and bug fixes. The main motivating idea here was to make `bazel build //...` and `bazel test //...` mostly work. (There's a few reasons these still don't work, but we're a lot closer.)
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    
    /assign @BenTheElder @mikedanese @spxtr
    
    Kubernetes-commit: 7c9e614cbb507b094d82301c5ea4d26f075eed82
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    b6540d4 View commit details
  5. Merge pull request #52835 from FengyunPan/Versionless-Endpoint

    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..
    
    Update gophercloud to Handle New Identity Endpoints
    
    Currently openstack cloud provider just support keystone v2.0 and v3
    The latest Identity Service is publishing an ID of v3.8, we should
    update gophercloud to recognize v3.8 as a valid version id.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #52830
    
    **Release note**:
    ```release-note
    NONE
    ```
    
    Kubernetes-commit: 4f2d7b93da2464a3147e0a7e71d896dd2bade9ad
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    fab36f2 View commit details
  6. Merge pull request #51759 from wackxu/addtestcase

    Automatic merge from submit-queue (batch tested with PRs 51759, 53001, 52806). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..
    
    add verify case in index_test.go
    
    **What this PR does / why we need it**:
    
    There only verify the length of the result in the index_test and we should  also verify the content of the result.
    
    **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
    ```
    
    Kubernetes-commit: c3b443b41c56de0ea012726a581b917e1665416d
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    350fc9e View commit details
  7. Merge pull request #53001 from ericchiang/oidc-refresh-token-error-me…

    …ssage
    
    Automatic merge from submit-queue (batch tested with PRs 51759, 53001, 52806). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..
    
    oidc client auth: better error when refresh response is missing id_token
    
    /kind cleanup
    @kubernetes/sig-auth-pr-reviews
    
    Updates kubernetes/kubernetes#36847
    
    ```release-notes
    NONE
    ```
    
    Kubernetes-commit: 08a465bd7d16a28dfd5ccedfdb95fabcb5380135
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    643c2cc View commit details
  8. Merge pull request #49705 from atlassian/rbuf

    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Ring buffer for shared informer notifications
    
    **What this PR does / why we need it**:
    Improves memory allocation for shared informer listeners. Instead of always appending to the slice use as a ring buffer, avoiding reslice operations as long as there is room in the slice. See kubernetes/kubernetes#47045 (comment) for details. This is a follow up PR for #47045.
    
    Results from BenchmarkListener:
    ```
    Current code (from the #47045):
    1000000	      1540 ns/op	     109 B/op	       1 allocs/op
    ```
    ```
    New code:
    1000000	      1162 ns/op	      16 B/op	       1 allocs/op
    ```
    
    **Special notes for your reviewer**:
    Only review the last commit, this branch is based on #47045 PR. I'll rebase onto master once it is merged.
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    /kind enhancement
    /sig api-machinery
    /cc @deads2k @ncdc
    
    Kubernetes-commit: bb035a2854e690d726ece2f8c5e1b8f4b7aef930
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    a6c294a View commit details
  9. Merge pull request #50555 from atlassian/fix-error-handling-from-inde…

    …x-funcs
    
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    threadSafeMap: panic if index function call fails
    
    **Which issue this PR fixes**
    Fixes #43605
    
    **Release note**:
    ```release-note
    NONE
    ```
    /kind bug
    /sig api-machinery
    
    Kubernetes-commit: e7518d8aa3abf295c7af920f7d8a97fbd6c1537d
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    8d1bb25 View commit details
  10. Merge pull request #52512 from apelisse/truncate-body

    Automatic merge from submit-queue (batch tested with PRs 53135, 52512, 48339). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    client-go: Truncate printed body based on Verbosity level
    
    **What this PR does / why we need it**: If log verbosity is above 8, it will print the full request and response body. These might be very big (especially when downloading the openapi), and it takes multiple seconds just to print it ... Truncates the printing of that body if the level is less than 10.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: Vaguely related to #52089
    
    **Special notes for your reviewer**:
    
    **Release note**:
    ```release-note
    NONE
    ```
    
    Kubernetes-commit: 413cf643f946e72be9a869833ebbeda996a440cf
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    0176ee0 View commit details
  11. Merge pull request #53278 from janetkuo/ds-apps-v1-master

    Automatic merge from submit-queue (batch tested with PRs 53278, 53184). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Add API version apps/v1, and bump DaemonSet to apps/v1
    
    **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)*: kubernetes/enhancements#484
    
    **Special notes for your reviewer**: This PR targets `master`, as a backup if #53223 (targeting features branch) falls through
    
    @kubernetes/sig-apps-api-reviews
    
    **Release note**:
    
    ```release-note
    Add API version apps/v1, and bump DaemonSet to apps/v1
    ```
    
    Kubernetes-commit: fc81ec01e51e6bcda6ed96f0f73799b43634d8d1
    k8s-publish-robot committed Oct 16, 2017
    Copy the full SHA
    2cc3e12 View commit details
Showing 1,382 changed files with 14,324 additions and 307,834 deletions.
81 changes: 72 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,18 +2,81 @@ TODO: This document was manually maintained so might be incomplete. The
automation effort is tracked in
https://github.com/kubernetes/client-go/issues/234.

# HEAD (changes that will go into v5)
# v5.0.1

** Breaking changes**
Bug fix: picked up a security fix [kubernetes/kubernetes#53443](https://github.com/kubernetes/kubernetes/pull/53443) for `PodSecurityPolicy`.

pkg/api and pkg/apis are moved to
[k8s.io/api](https://github.com/kubernetes/api). Other kubernetes repositories
also import types from there, so they are composable with client-go.
# v5.0.0

Helper functions in pkg/api and pkg/apis are also removed. They are planned to
be exported in other repos. The issue is tracked
[here](https://github.com/kubernetes/kubernetes/issues/48209#issuecomment-314537745).
During the transition, you'll have to copy the helper functions to your projects.
**New features:**

* Added paging support

* [https://github.com/kubernetes/kubernetes/pull/51876](https://github.com/kubernetes/kubernetes/pull/51876)

* Added support for client-side spam filtering of events

* [https://github.com/kubernetes/kubernetes/pull/47367](https://github.com/kubernetes/kubernetes/pull/47367)

* Added support for http etag and caching

* [https://github.com/kubernetes/kubernetes/pull/50404](https://github.com/kubernetes/kubernetes/pull/50404)

* Added priority queue support to informer cache

* [https://github.com/kubernetes/kubernetes/pull/49752](https://github.com/kubernetes/kubernetes/pull/49752)

* Added openstack auth provider

* [https://github.com/kubernetes/kubernetes/pull/39587](https://github.com/kubernetes/kubernetes/pull/39587)

* Added metrics for checking reflector health

* [https://github.com/kubernetes/kubernetes/pull/48224](https://github.com/kubernetes/kubernetes/pull/48224)

* Client-go now includes the leaderelection package

* [https://github.com/kubernetes/kubernetes/pull/39173](https://github.com/kubernetes/kubernetes/pull/39173)

**API changes:**

* Promoted Autoscaling v2alpha1 to v2beta1

* [https://github.com/kubernetes/kubernetes/pull/50708](https://github.com/kubernetes/kubernetes/pull/50708)

* Promoted CronJobs to batch/v1beta1

* [https://github.com/kubernetes/kubernetes/pull/41901](https://github.com/kubernetes/kubernetes/pull/41901)

* Promoted rbac.authorization.k8s.io/v1beta1 to rbac.authorization.k8s.io/v1

* [https://github.com/kubernetes/kubernetes/pull/49642](https://github.com/kubernetes/kubernetes/pull/49642)

* Added a new API version apps/v1beta2

* [https://github.com/kubernetes/kubernetes/pull/48746](https://github.com/kubernetes/kubernetes/pull/48746)

* Added a new API version scheduling/v1alpha1

* [https://github.com/kubernetes/kubernetes/pull/48377](https://github.com/kubernetes/kubernetes/pull/48377)

**Breaking changes:**

* Moved pkg/api and pkg/apis to [k8s.io/api](https://github.com/kubernetes/api). Other kubernetes repositories also import types from there, so they are composable with client-go.

* Removed helper functions in pkg/api and pkg/apis. They are planned to be exported in other repos. The issue is tracked [here](https://github.com/kubernetes/kubernetes/issues/48209#issuecomment-314537745). During the transition, you'll have to copy the helper functions to your projects.

* The discovery client now fetches the protobuf encoded OpenAPI schema and returns `openapi_v2.Document`

* [https://github.com/kubernetes/kubernetes/pull/46803](https://github.com/kubernetes/kubernetes/pull/46803)

* Enforced explicit references to API group client interfaces in clientsets to avoid ambiguity.

* [https://github.com/kubernetes/kubernetes/pull/49370](https://github.com/kubernetes/kubernetes/pull/49370)

* The generic RESTClient type (`k8s.io/client-go/rest`) no longer exposes `LabelSelectorParam` or `FieldSelectorParam` methods - use `VersionedParams` with `metav1.ListOptions` instead. The `UintParam` method has been removed. The `timeout` parameter will no longer cause an error when using `Param()`.

* [https://github.com/kubernetes/kubernetes/pull/48991](https://github.com/kubernetes/kubernetes/pull/48991)

# v4.0.0

Loading