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: kubernetes/client-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.26.15
Choose a base ref
...
head repository: kubernetes/client-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.27.0
Choose a head ref

Commits on Nov 10, 2021

  1. ServiceExternalTrafficPolicyType: s/Type//

    Rename ServiceExternalTrafficPolicyType => ServiceExternalTrafficPolicy
    
    Kubernetes-commit: d0e2b068500b260851f48c636185e1dcbb438d2e
    thockin authored and k8s-publishing-bot committed Nov 10, 2021
    Copy the full SHA
    f5f28c4 View commit details
  2. ServiceInternalTrafficPolicyType: s/Type//

    Rename ServiceInternalTrafficPolicyType => ServiceInternalTrafficPolicy
    
    Kubernetes-commit: dd0a50336e283775e05e54b0b174b7c7a9367d99
    thockin authored and k8s-publishing-bot committed Nov 10, 2021
    Copy the full SHA
    31e7d40 View commit details

Commits on Aug 3, 2022

  1. kubelet: add key encipherment usage only if it is rsa key

    remove allowOmittingUsageKeyEncipherment as it is always true
    
    Signed-off-by: Paco Xu <paco.xu@daocloud.io>
    
    Kubernetes-commit: 160f015ef4affe903f98e74cf42b40fceef15cb9
    pacoxu authored and k8s-publishing-bot committed Aug 3, 2022
    Copy the full SHA
    6a07ced View commit details

Commits on Aug 17, 2022

  1. Reflector: support logging Unstructured type

    Add an annotation that can be added to the exampleType passed to
    NewReflector to indicate the expected type for the Reflector. This is
    useful for types such as unstuctured.Unstructured, which, when used with
    a dynamic informer, do not have their TypeMeta filled in.
    
    Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
    
    Kubernetes-commit: 474fc8c5234000bce666a6b02f7ffbb295ef135f
    ncdc authored and k8s-publishing-bot committed Aug 17, 2022
    Copy the full SHA
    37897af View commit details

Commits on Sep 9, 2022

  1. event_broadcaster: update isomorphic event def

    Update the definition of an isomorphic event in the events/v1 client to
    match the aggregation logic that was already present in the core/v1
    implementation.
    
    The note field was omitted even though the message was used in the core
    API aggregation because we didn't reach consensus.
    
    Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
    
    Kubernetes-commit: 21f2f746abc1a5a1b3193274401f5728e19cc26f
    dgrisonnet authored and k8s-publishing-bot committed Sep 9, 2022
    Copy the full SHA
    1113415 View commit details

Commits on Nov 2, 2022

  1. dependencies: update to ginkgo v2.6.1, gomega v1.24.2

    Ginkgo v2.5.0 adds support for a "timeline": a full description of what happened
    while a specific test ran, including failures, timeouts, and log output.
    
    Ginkgo v2.6.0 adds ReportBeforeSuite which we need for
    kubernetes/kubernetes#114313.
    
    Kubernetes-commit: f3ef4004317c1a12d84021be29dd5f92badc8eff
    pohly authored and k8s-publishing-bot committed Nov 2, 2022
    Copy the full SHA
    beb71aa View commit details
  2. diff.ObjectReflectDiff is DEPRECATED use cmp.Diff

    Kubernetes-commit: 6da08775f9fc8d70f867435f55cf712d3a6ef056
    wongearl authored and k8s-publishing-bot committed Nov 2, 2022
    Copy the full SHA
    5d95f80 View commit details

Commits on Nov 3, 2022

  1. client-go: remove extensions psp only

    Kubernetes-commit: e41b1bff5853c616f7872ccf36fbefa480f72892
    pacoxu authored and k8s-publishing-bot committed Nov 3, 2022
    Copy the full SHA
    be1f5d4 View commit details

Commits on Nov 6, 2022

  1. code-generator: refer to the API package for GV{R,K}

    There should only be one source of truth for the API group's name and
    version.
    
    Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
    
    Kubernetes-commit: e13198ec6f52c4a6405388e90053954dc7656a31
    stevekuznetsov authored and k8s-publishing-bot committed Nov 6, 2022
    Copy the full SHA
    9bcbb56 View commit details

Commits on Nov 14, 2022

  1. Merge pull request #113797 from seans3/force-no-aggregated

    Adds field to force non-aggregated discovery
    
    Kubernetes-commit: 418608e926049e7458f03226fe27f101e7fdc47f
    k8s-publishing-bot committed Nov 14, 2022
    Copy the full SHA
    1ac8d45 View commit details

Commits on Nov 15, 2022

  1. Add apelisse into some more OWNERS files

    Kubernetes-commit: b5f2130f240b0a9ebd1d0edd400b899d0efb8b2b
    apelisse authored and k8s-publishing-bot committed Nov 15, 2022
    Copy the full SHA
    a4d38f8 View commit details
  2. Limit request retrying to []byte request bodies

    Kubernetes-commit: 69fad419a7666ac416307de4c3ee88c7e61b94db
    liggitt authored and k8s-publishing-bot committed Nov 15, 2022
    Copy the full SHA
    e2f402c View commit details

Commits on Nov 17, 2022

  1. Add jpbetz to k8s.io/client-go/applyconfigurations

    Kubernetes-commit: a1f5e36fab45645ad4776eca927347d8dc715c8b
    apelisse authored and k8s-publishing-bot committed Nov 17, 2022
    Copy the full SHA
    0193d08 View commit details

Commits on Nov 18, 2022

  1. Enable propagration of HasSynced

    * Add tracker types and tests
    * Modify ResourceEventHandler interface's OnAdd member
    * Add additional ResourceEventHandlerDetailedFuncs struct
    * Fix SharedInformer to let users track HasSynced for their handlers
    * Fix in-tree controllers which weren't computing HasSynced correctly
    * Deprecate the cache.Pop function
    
    Kubernetes-commit: 8100efc7b3122ad119ee8fa4bbbedef3b90f2e0d
    lavalamp authored and k8s-publishing-bot committed Nov 18, 2022
    Copy the full SHA
    5d70a11 View commit details

Commits on Dec 1, 2022

  1. tools/events: fix data race when emitting series

    There was a data race in the recordToSink function that caused changes
    to the events cache to be overriden if events were emitted
    simultaneously via Eventf calls.
    
    The race lies in the fact that when recording an Event, there might be
    multiple calls updating the cache simultaneously. The lock period is
    optimized so that after updating the cache with the new Event, the lock
    is unlocked until the Event is recorded on the apiserver side and then
    the cache is locked again to be updated with the new value returned by
    the apiserver.
    
    The are a few problem with the approach:
    
    1. If two identical Events are emitted successively the changes of the
       second Event will override the first one. In code the following
       happen:
       1. Eventf(ev1)
       2. Eventf(ev2)
       3. Lock cache
       4. Set cache[getKey(ev1)] = &ev1
       5. Unlock cache
       6. Lock cache
       7. Update cache[getKey(ev2)] = &ev1 + Series{Count: 1}
       8. Unlock cache
       9. Start attempting to record the first event &ev1 on the apiserver side.
    
       This can be mitigated by recording a copy of the Event stored in
       cache instead of reusing the pointer from the cache.
    
    2. When the Event has been recorded on the apiserver the cache is
       updated again with the value of the Event returned by the server.
       This update will override any changes made to the cache entry when
       attempting to record the new Event since the cache was unlocked at
       that time. This might lead to some inconsistencies when dealing with
       EventSeries since the count may be overriden or the client might even
       try to record the first isomorphic Event multiple time.
    
       This could be mitigated with a lock that has a larger scope, but we
       shouldn't want to reflect Event returned by the apiserver in the
       cache in the first place since mutation could mess with the
       aggregation by either allowing users to manipulate values to update
       a different cache entry or even having two cache entries for the same
       Events.
    
    Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
    
    Kubernetes-commit: 55ec09d377274b4a6107fe0b7a061ad408fe05a7
    dgrisonnet authored and k8s-publishing-bot committed Dec 1, 2022
    Copy the full SHA
    4b578e1 View commit details
  2. tools/events: retry on AlreadyExist for Series

    When attempting to record a new Event and a new Serie on the apiserver
    at the same time, the patch of the Serie might happen before the Event
    is actually created. In that case, we handle the error and try to create
    the Event. But the Event might be created during that period of time and
    it is treated as an error today. So in order to handle that scenario, we
    need to retry when a Create call for a Serie results in an AlreadyExist
    error.
    
    Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
    
    Kubernetes-commit: 2f83117bcfe30ad3ada7f1ca66f4b885a1d5df25
    dgrisonnet authored and k8s-publishing-bot committed Dec 1, 2022
    Copy the full SHA
    e3ded99 View commit details

Commits on Dec 2, 2022

  1. reflector: refactor setting typeDescription & expectedGVK

    Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
    
    Kubernetes-commit: 784ec157e67c86bc3383b326bbfe8ee70737aa4d
    ncdc authored and k8s-publishing-bot committed Dec 2, 2022
    Copy the full SHA
    fbb7f08 View commit details

Commits on Dec 6, 2022

  1. Update golang.org/x/net 1e63c2f

    Includes fix for CVE-2022-41717
    
    Kubernetes-commit: afe5378db9d17b1e16ea0028ecfab432475f8e25
    liggitt authored and k8s-publishing-bot committed Dec 6, 2022
    Copy the full SHA
    b044399 View commit details

Commits on Dec 7, 2022

  1. Merge pull request #114319 from liggitt/net-master

    Update golang.org/x/net 1e63c2f
    
    Kubernetes-commit: 72acaad83924360960e21915aa94cd1db8d0196c
    k8s-publishing-bot committed Dec 7, 2022
    Copy the full SHA
    6cbd19f View commit details

Commits on Dec 9, 2022

  1. Merge pull request #113904 from apelisse/add-owners-apelisse

    Add apelisse into some more OWNERS files
    
    Kubernetes-commit: b47752022b5b856a3516ad5377e3b020f43c4f2b
    k8s-publishing-bot committed Dec 9, 2022
    Copy the full SHA
    d21defd View commit details

Commits on Dec 10, 2022

  1. Merge pull request #111898 from ncdc/reflector-unstructured-fixes

    Reflector: support logging Unstructured type
    
    Kubernetes-commit: 054274d77c3fc12eeb56fd03d6e371d4aa61f0c1
    k8s-publishing-bot committed Dec 10, 2022
    Copy the full SHA
    ca60156 View commit details
  2. Merge pull request #113933 from liggitt/retry-race

    Fix client-go request retry race
    
    Kubernetes-commit: 8d2fbfc5a9635bc3247d7f739f8a057962049aca
    k8s-publishing-bot committed Dec 10, 2022
    Copy the full SHA
    58ff029 View commit details

Commits on Dec 11, 2022

  1. Check the correct error in d.downloadAPIs

    The error result of `d.downloadAPIs()` is set in `aerr`,
    not `err`.
    
    This prevents a nil-ptr dereference of apiGroups in the next step.
    
    Signed-off-by: Abhijit Hoskeri <abhijithoskeri@gmail.com>
    
    Kubernetes-commit: 450ba4f50638ad9ee4d287a762a8530c64e89ebd
    hoskeri authored and k8s-publishing-bot committed Dec 11, 2022
    Copy the full SHA
    4dbb1cd View commit details
  2. Merge pull request #114404 from hoskeri/discovery-error-check

    Check the correct error in d.downloadAPIs
    
    Kubernetes-commit: 47d58265ae6661fa5e21575f688ce761a11c090e
    k8s-publishing-bot committed Dec 11, 2022
    Copy the full SHA
    5a489e8 View commit details

Commits on Dec 13, 2022

  1. Merge pull request #110991 from thockin/svc-typenames-starTrafficPoli…

    …cyType
    
    Svc typenames star traffic policy type
    
    Kubernetes-commit: 923ee203f362aa947a7b0c9b1357488e0a244ea7
    k8s-publishing-bot committed Dec 13, 2022
    Copy the full SHA
    e7e7d01 View commit details
  2. portforward: return error on lost connection to pod

    Currently, when the remote connection is unexpected closed, forward() prints an error message saying "lost connection to pod" via runtime.HandleError, but then it returns nil for the error.
    
    This prevents the caller from being able to handle this error differently.
    
    This commit changes forward() to return the "lost connection to pod" error so that it can be handled by the caller.
    
    Making this change enables kubectl port-forward to exit with code 1, instead of 0, which is the expected behavior for a command that has failed.
    
    Kubernetes-commit: a9f04103854893056237a09250ad3335867b0391
    brianpursley authored and k8s-publishing-bot committed Dec 13, 2022
    Copy the full SHA
    d084224 View commit details

Commits on Dec 14, 2022

  1. client-go: properly return error in fake discovery (#79612)

    Fake discovery should return an error if an error-returning reactor was prepended.
    
    This is relevant e.g. for unit tests which test a function which relies
    on discovery to check if an API Server is available.
    
    Matches existing behavior of other fake types, for example fake_namespace.
    
    Adds unit test coverage as well.
    
    Kubernetes-commit: b47748103a53c0fe5ba1ddc950662ffc9bd9ed0f
    MaxHorstmann authored and k8s-publishing-bot committed Dec 14, 2022
    Copy the full SHA
    2424830 View commit details

Commits on Dec 15, 2022

  1. Merge pull request #113985 from lavalamp/improved-has-synced

    Propagate HasSynced properly
    
    Kubernetes-commit: 843b40aeb421347ae00f206ea879bc1e1ae2912d
    k8s-publishing-bot committed Dec 15, 2022
    Copy the full SHA
    9759133 View commit details

Commits on Dec 16, 2022

  1. cleanup: EphemeralContainers feature gate related codes

    Kubernetes-commit: 70e56fa71af5aa4f3d1448fcbc26e86309cd0cf3
    pacoxu authored and k8s-publishing-bot committed Dec 16, 2022
    Copy the full SHA
    20ca706 View commit details

Commits on Dec 17, 2022

  1. Fix indentation/spacing in comments to render correctly in godoc

    Kubernetes-commit: 78cb3862f11225135afdf76f3424e2d7b33104c7
    liggitt authored and k8s-publishing-bot committed Dec 17, 2022
    Copy the full SHA
    422fe1f View commit details

Commits on Dec 19, 2022

  1. Merge pull request #114559 from liggitt/gofmt

    Fix indentation/spacing in comments to render correctly in godoc
    
    Kubernetes-commit: 76522eb1a339a95544523c1ed85da09f287f1ade
    k8s-publishing-bot committed Dec 19, 2022
    Copy the full SHA
    089645a View commit details
  2. Embed context deadline exceeded in error to let errors.Is can work

    Currently, watch package embeds context deadlineexceeded error
    in it's own error using `%v`, as can be seen in here;
    
    `fmt.Errorf("UntilWithSync: unable to sync caches: %v", ctx.Err())`
    
    However, consumers of this function can not use
    `errors.Is(err, context.DeadlineExceeded)` due this `%v`.
    
    To let consumers can distinguish context deadlineexceeded errors,
    this PR changes error embedding format to `%w`.
    
    Kubernetes-commit: 6b7c365f8f6d50280c2dab171efdd4b93d964f32
    ardaguclu authored and k8s-publishing-bot committed Dec 19, 2022
    Copy the full SHA
    21fffc1 View commit details
  3. Resource claims should be a map type

    Kubernetes-commit: e50e8a0c919c0e02dc9a0ffaebb685d5348027b4
    JoelSpeed authored and k8s-publishing-bot committed Dec 19, 2022
    Copy the full SHA
    984a230 View commit details

Commits on Dec 23, 2022

  1. Merge pull request #114291 from MaxHorstmann/master

    #79612 fix(client-go): return error in fake discovery
    
    Kubernetes-commit: 0783cf49e853e56f2f5e1708519c09fa83f0349f
    k8s-publishing-bot committed Dec 23, 2022
    Copy the full SHA
    19c9966 View commit details
  2. Merge pull request #114578 from ardaguclu/wrap-ctx-error-until

    Embed context deadline exceeded in error to let errors.Is can work
    
    Kubernetes-commit: b704b96565249fe451d9d023f7f743efc1cc90fe
    k8s-publishing-bot committed Dec 23, 2022
    Copy the full SHA
    bc218e4 View commit details
  3. Merge pull request #114585 from JoelSpeed/fix-resource-requirements-c…

    …laims
    
    Resource Claims must be a map type, not set
    
    Kubernetes-commit: 5882479457ac2554f70fc4678aa86eca8c49ae8b
    k8s-publishing-bot committed Dec 23, 2022
    Copy the full SHA
    32f9a15 View commit details
  4. Merge pull request #113538 from pohly/e2e-ginkgo-timeline

    e2e: ginkgo timeline
    
    Kubernetes-commit: 020fb2eb776c0affad3a9ff7dd21ba231e6c646d
    k8s-publishing-bot committed Dec 23, 2022
    Copy the full SHA
    b69cda3 View commit details
  5. portforward: Add unit test to cover stopChan usage

    Kubernetes-commit: 6f08ab013c6ce54de239aab46b4086c09464f977
    brianpursley authored and k8s-publishing-bot committed Dec 23, 2022
    Copy the full SHA
    b0a6a6f View commit details

Commits on Jan 2, 2023

  1. Merge pull request #114237 from dgrisonnet/handle-series-error

    Retry when recording an EventSerie results in an AlreadyExist error
    
    Kubernetes-commit: 2b6c8420a245583d5055e9b4b8ed2b648c42529d
    k8s-publishing-bot committed Jan 2, 2023
    Copy the full SHA
    7e34708 View commit details
  2. Merge pull request #114236 from dgrisonnet/fix-eventseries-race

    Fix data race when emitting similar Events consecutively
    
    Kubernetes-commit: ca858e0c961db6ef8b22ecc3e257a02757261ea1
    k8s-publishing-bot committed Jan 2, 2023
    Copy the full SHA
    3e0d990 View commit details

Commits on Jan 4, 2023

  1. bump golang.org/x/oauth2

    Kubernetes-commit: fc9a140badf29382c1396b7de4813849d6f3e3c9
    liggitt authored and k8s-publishing-bot committed Jan 4, 2023
    Copy the full SHA
    4dad476 View commit details
  2. Revert "bump golang.org/x/oauth2"

    This reverts commit fc9a140badf29382c1396b7de4813849d6f3e3c9.
    
    Kubernetes-commit: 9f07c8e346fef454942d205f2702885475c7fc9a
    liggitt authored and k8s-publishing-bot committed Jan 4, 2023
    Copy the full SHA
    338dcc2 View commit details

Commits on Jan 5, 2023

  1. dependencies: update ginkgo to v2.7.0

    The new ginkgo release adds sorting of specs. This was triggered by
    the observation that parallel test execution of Kubernetes E2E tests
    sometimes ran the same spec twice and (presumably) other specs not at all
    because spec order was random due to iteration over a map.
    
    Sorting should avoid that problem.
    
    Kubernetes-commit: baf832d80d798d53ceb7d4de3a39330c6eda5c6a
    pohly authored and k8s-publishing-bot committed Jan 5, 2023
    Copy the full SHA
    e96d4a0 View commit details

Commits on Jan 6, 2023

  1. bump kube-openapi

    Kubernetes-commit: d78de56d769ee9bd2193ccadbac5621d4a0ae89d
    liggitt authored and k8s-publishing-bot committed Jan 6, 2023
    Copy the full SHA
    61a4d65 View commit details

Commits on Jan 7, 2023

  1. Merge pull request #114822 from liggitt/oauth2

    bump golang.org/x/oauth2
    
    Kubernetes-commit: 4e785dc7e3ac1d01cedd23a0ed9c4a67dc9c214f
    k8s-publishing-bot committed Jan 7, 2023
    Copy the full SHA
    26d70e3 View commit details
  2. Merge pull request #111660 from pacoxu/key-encipherment-v1.26

    Key encipherment usage  v1.27
    
    Kubernetes-commit: 492637878f0b26fa126f2025af2ee5c1f1fd5867
    k8s-publishing-bot committed Jan 7, 2023
    Copy the full SHA
    37a1df5 View commit details
  3. Merge pull request #114829 from liggitt/oauth-revert

    Revert "bump golang.org/x/oauth2"
    
    Kubernetes-commit: 293bf70916de8ef61d5f868f53959f1e15b3e091
    k8s-publishing-bot committed Jan 7, 2023
    Copy the full SHA
    dc46266 View commit details
  4. Merge pull request #113654 from stevekuznetsov/skuznets/fake-group-na…

    …me-registration
    
    code-generator: refer to the API package for GV{R,K}
    
    Kubernetes-commit: c97dbd1afb815731cbebf9cb0d888a29c39e2b76
    k8s-publishing-bot committed Jan 7, 2023
    Copy the full SHA
    5ea7f43 View commit details
  5. Merge pull request #114460 from brianpursley/pf-exit

    portforward: return error on lost connection to pod
    
    Kubernetes-commit: 61cdb86814489624dd5a169526797e186a118e66
    k8s-publishing-bot committed Jan 7, 2023
    Copy the full SHA
    bd7ed9e View commit details
  6. Merge pull request #114869 from liggitt/kube-openapi

    bump kube-openapi
    
    Kubernetes-commit: 0e49c542d7a73dd056f8f32f33939207dd009b14
    k8s-publishing-bot committed Jan 7, 2023
    Copy the full SHA
    fda1b11 View commit details
Showing 350 changed files with 75,246 additions and 6,968 deletions.
1 change: 1 addition & 0 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ approvers:
- yliaog
reviewers:
- aojea
- apelisse
- caesarxuchao
- deads2k
- jpbetz
5 changes: 5 additions & 0 deletions applyconfigurations/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- apelisse
- jpbetz
48 changes: 48 additions & 0 deletions applyconfigurations/admissionregistration/v1/matchcondition.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions applyconfigurations/admissionregistration/v1/mutatingwebhook.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions applyconfigurations/admissionregistration/v1/validatingwebhook.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading