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

Commits on Jul 8, 2024

  1. dependencies: logr v1.4.2, zap v1.27.0

    No particular reason for updating besides staying up-to-date.
    
    Kubernetes-commit: 861ed2d2feeca187a32dcf793c9e3d5ab21bfdfc
    pohly authored and k8s-publishing-bot committed Jul 8, 2024
    Copy the full SHA
    788a0a0 View commit details

Commits on Aug 18, 2024

  1. Update vendor

    Kubernetes-commit: 745ae75a15cad2f1c5da5518c00f2eb366ffb786
    liggitt authored and k8s-publishing-bot committed Aug 18, 2024
    Copy the full SHA
    900acb9 View commit details

Commits on Aug 27, 2024

  1. re-vendor k8s.io/kube-openapi

    Kubernetes-commit: ea2bdb6334ec1a2821a96163d83480d5fdb1861b
    Jefftree authored and k8s-publishing-bot committed Aug 27, 2024
    Copy the full SHA
    dc7b81f View commit details

Commits on Aug 28, 2024

  1. Merge pull request #126787 from Jefftree/update-kube-openapi

    Bump k8s.io/kube-openapi and k8s.io/gengo
    
    Kubernetes-commit: f1a922c8e6f951381450ee3c2922ca018f14a82e
    k8s-publishing-bot committed Aug 28, 2024
    Copy the full SHA
    03b58f4 View commit details

Commits on Sep 5, 2024

  1. Update cadvisor and hcsshim versions

    Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
    
    Kubernetes-commit: 3fba9930b72f78b53fb83b0d533a426080c0f92e
    kiashok authored and k8s-publishing-bot committed Sep 5, 2024
    Copy the full SHA
    f4fb81a View commit details

Commits on Sep 6, 2024

  1. Merge pull request #125960 from pohly/dep-logging

    dependencies: logr v1.4.2, zap v1.27.0
    
    Kubernetes-commit: a8d4eb60097863210b89063003e537253cf091a8
    k8s-publishing-bot committed Sep 6, 2024
    Copy the full SHA
    751f417 View commit details

Commits on Sep 8, 2024

  1. perf: optimize the GetPodServiceMemberships function. If the servic…

    …e is not the pod's membership, it seems unnecessary to get the `key`
    
    Signed-off-by: joey <zchengjoey@gmail.com>
    
    Kubernetes-commit: 0dcaedeb6c9f9c885a32d29eb335014a5e6ff559
    chengjoey authored and k8s-publishing-bot committed Sep 8, 2024
    Copy the full SHA
    6b40053 View commit details

Commits on Sep 10, 2024

  1. Update go.mod to go 1.23

    Kubernetes-commit: 65ef53139012dee36c08f558604dea48af170e11
    liggitt authored and k8s-publishing-bot committed Sep 10, 2024
    Copy the full SHA
    036f874 View commit details
  2. Pin godebug default to go1.23

    Kubernetes-commit: 102a9dbab1764e8793d0237b25143fa49cd96831
    liggitt authored and k8s-publishing-bot committed Sep 10, 2024
    Copy the full SHA
    a360ba3 View commit details

Commits on Sep 11, 2024

  1. fixup! metrics: add exemplar support for counters

    Kubernetes-commit: 460b8478cd1afc3495a9d4b2920137969cc9b707
    rexagod authored and k8s-publishing-bot committed Sep 11, 2024
    Copy the full SHA
    5b2a7a6 View commit details

Commits on Sep 12, 2024

  1. Merge pull request #127271 from liggitt/go1.23

    Update go.mod for go 1.23
    
    Kubernetes-commit: c775fb2238e1ed48f62f02898bbb3ecee993e044
    k8s-publishing-bot committed Sep 12, 2024
    Copy the full SHA
    edabf31 View commit details

Commits on Sep 23, 2024

  1. Merge pull request #126799 from kiashok/update-cadvisor-hcsshim

    Update cadvisor and hcsshim versions
    
    Kubernetes-commit: 4c2e23904794a289be22b2c9bce3303edfa0f622
    k8s-publishing-bot committed Sep 23, 2024
    Copy the full SHA
    2755869 View commit details

Commits on Sep 27, 2024

  1. fix: enable error-nil and nil-compare rules from testifylint in modul…

    …e `k8s.io/endpointslice`
    
    Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
    
    Kubernetes-commit: 3e29e6e9d377554e9b3dadc1be3ede21f4bd48a2
    mmorel-35 authored and k8s-publishing-bot committed Sep 27, 2024
    Copy the full SHA
    c51294f View commit details
  2. fix: enable expected-actual rule from testifylint in module `k8s.io/e…

    …ndpointslice`
    
    Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
    
    Kubernetes-commit: b1fb8ec3751aada2f4afaa100247b06448bc5fd1
    mmorel-35 authored and k8s-publishing-bot committed Sep 27, 2024
    Copy the full SHA
    9355369 View commit details

Commits on Sep 28, 2024

  1. Merge pull request #126764 from liggitt/mergo

    reimplement merge to drop mergo dependency
    
    Kubernetes-commit: ee74baec6e05afde972f1a8705d4f8efe066f120
    k8s-publishing-bot committed Sep 28, 2024
    Copy the full SHA
    8265df7 View commit details

Commits on Sep 29, 2024

  1. Merge pull request #127686 from mmorel-35/testifylint/expected-actual…

    …@k8s.io/endpointslice
    
    fix: enable expected-actual rule from testifylint in module `k8s.io/endpointslice`
    
    Kubernetes-commit: 9c8553bd3723344ad52b44d5cbfe0232f9b60661
    k8s-publishing-bot committed Sep 29, 2024
    Copy the full SHA
    82421fb View commit details
  2. Merge pull request #127679 from mmorel-35/testifylint/nil-compare@k8s…

    ….io/endpointslice
    
    fix: enable error-nil and nil-compare rules from testifylint in module `k8s.io/endpointslice`
    
    Kubernetes-commit: 3c1e9d7dcb27782993696636450aaeca71e27049
    k8s-publishing-bot committed Sep 29, 2024
    Copy the full SHA
    6f5136a View commit details

Commits on Oct 10, 2024

  1. Update sigs.k8s.io/json to go1.23

    Kubernetes-commit: 8eff759b6ac7c3bb0c6a8823c751f5a578d6f721
    liggitt authored and k8s-publishing-bot committed Oct 10, 2024
    Copy the full SHA
    9b362b9 View commit details
  2. Merge pull request #127942 from liggitt/json123

    sigs.k8s.io/json go 1.23 bump
    
    Kubernetes-commit: fc318e3ba4cb1db822d7f802993059846f64179d
    k8s-publishing-bot committed Oct 10, 2024
    Copy the full SHA
    1487539 View commit details
  3. Update moby/runc dependencies

    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    
    Kubernetes-commit: 521f2d106b9c5744ce57a8ec03124bcdadbca986
    dims authored and k8s-publishing-bot committed Oct 10, 2024
    Copy the full SHA
    e8a4cde View commit details

Commits on Oct 11, 2024

  1. October 2024 golang.org/x bump

    Nothing major here, but nothing liable to cause pain to downstreams
    either.
    
    * golang/crypto@v0.26.0...v0.28.0 (there’s
      a SHA3 fix there but it’s only relevant for 32-bit platforms)
    * golang/net@v0.28.0...v0.30.0 (mostly
      http2; route address parsing fix on Darwin)
    * golang/oauth2@v0.21.0...v0.23.0 (Google
      license fix)
    * golang/sys@v0.23.0...v0.26.0 (faster
      getrandom() on Linux through the vDSO; improved RISC-V support)
    * golang/term@v0.23.0...v0.25.0
    * golang/time@v0.3.0...v0.7.0 (0-limit
      handling fix in x/time/rate; Google license fix)
    * golang/tools@v0.24.0...v0.26.0
    
    This doesn’t include golang.org/x/exp; that doesn’t have any relevant
    changes. There’s an apidiff fix but we always pull in the latest
    apidiff anyway.
    
    Signed-off-by: Stephen Kitt <skitt@redhat.com>
    
    Kubernetes-commit: 6c5a528727c30803d4426b29c06ae5d350619877
    skitt authored and k8s-publishing-bot committed Oct 11, 2024
    Copy the full SHA
    d9556af View commit details
  2. Merge pull request #127985 from dims/update-moby-runc-dependencies-oc…

    …t-10
    
    Update moby/runc dependencies
    
    Kubernetes-commit: 6e5e8f374e834fa8dab341bde5c522704ed55ba6
    k8s-publishing-bot committed Oct 11, 2024
    Copy the full SHA
    935cb9e View commit details
  3. Merge pull request #127998 from skitt/golang-x-oct-2024

    October 2024 golang.org/x bump
    
    Kubernetes-commit: 8cbb11519c54c120e2dc120a4799e53abbfea4a4
    k8s-publishing-bot committed Oct 11, 2024
    Copy the full SHA
    8294c13 View commit details

Commits on Oct 14, 2024

  1. Update to last versions of some very infrequently updated repos

    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    
    Kubernetes-commit: 7f8210e33f8cd626d1fb86cd7d12d077ec3047d5
    dims authored and k8s-publishing-bot committed Oct 14, 2024
    Copy the full SHA
    313e6b0 View commit details

Commits on Oct 16, 2024

  1. Merge pull request #128064 from dims/update-to-last-versions-of-some-…

    …very-infrequently-updated-repos
    
    Update to last versions of some very infrequently updated repos
    
    Kubernetes-commit: 07e73682b9a5259cacac978346ed4567588e4165
    k8s-publishing-bot committed Oct 16, 2024
    Copy the full SHA
    2bba22e View commit details
  2. Merge pull request #119949 from rexagod/119697-1

    metrics: add exemplar support for counters
    
    Kubernetes-commit: 7b802a60bd6e43ab53499e3b0a19c06f395974df
    k8s-publishing-bot committed Oct 16, 2024
    Copy the full SHA
    e3810df View commit details

Commits on Oct 17, 2024

  1. Drop self-referencing replace directives

    Kubernetes-commit: 3be1109829d4b0921972bb8b5f66a4d179ff6255
    liggitt authored and k8s-publishing-bot committed Oct 17, 2024
    Copy the full SHA
    7474591 View commit details

Commits on Oct 18, 2024

  1. Merge pull request #128165 from liggitt/prune-self-require

    Drop self-referencing replace directives
    
    Kubernetes-commit: a8fc7ae761c19ab436cf513c9eed877f08961cf7
    k8s-publishing-bot committed Oct 18, 2024
    Copy the full SHA
    dfce621 View commit details

Commits on Oct 23, 2024

  1. Merge pull request #127222 from chengjoey/perf/get-pod-service-member…

    …ships
    
    perf: optimize the `GetPodServiceMemberships` function
    
    Kubernetes-commit: 41c2e228cce6e1f580787de5fe0c39bed5f3172d
    k8s-publishing-bot committed Oct 23, 2024
    Copy the full SHA
    535a4c0 View commit details

Commits on Nov 1, 2024

  1. hack/pin-dependency.sh sigs.k8s.io/structured-merge-diff/v4 v4.4.2

    Kubernetes-commit: 6fe51403665f1b6e820226004817b92e3118cabc
    jpbetz authored and k8s-publishing-bot committed Nov 1, 2024
    Copy the full SHA
    10528f3 View commit details
  2. Merge pull request #128416 from jpbetz/reset-filter

    Add optional ResetFieldsFilterStrategy interface for storage
    
    Kubernetes-commit: b831df733e5cf244331f61fffb0ba86787b27236
    k8s-publishing-bot committed Nov 1, 2024
    Copy the full SHA
    734e62b View commit details
  3. dependencies: ginkgo v2.21.0, gomega v1.35.1

    Kubernetes-commit: 80b1a297865500891bd823005ace761becae5dbf
    carlory authored and k8s-publishing-bot committed Nov 1, 2024
    Copy the full SHA
    21e3529 View commit details
  4. Merge pull request #128481 from carlory/dependencies-ginkgo-gomega

    dependencies: ginkgo v2.21.0, gomega v1.35.1
    
    Kubernetes-commit: 88a997ac01cd8a386df9318d81b89257307f53fb
    k8s-publishing-bot committed Nov 1, 2024
    Copy the full SHA
    6411721 View commit details

Commits on Nov 2, 2024

  1. Use k8s.io/utils/lru instead of github.com/golang/groupcache/lru

    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    
    Kubernetes-commit: 2b0592ee77d0a0bb3017df042066ecb8c83d2fb3
    dims authored and k8s-publishing-bot committed Nov 2, 2024
    Copy the full SHA
    30e192f View commit details

Commits on Nov 5, 2024

  1. Merge pull request #128507 from dims/use-k8s.io/utils/lru-instead-of-…

    …github.com/golang/groupcache/lru
    
    Use k8s.io/utils/lru instead of github.com/golang/groupcache/lru
    
    Kubernetes-commit: 7a4d755644e83dfade7bbc4c240c204a9e54d9c0
    k8s-publishing-bot committed Nov 5, 2024
    Copy the full SHA
    e42d668 View commit details
  2. hack/pin-dependency.sh k8s.io/kube-openapi 32ad38e42d3faf1ce94eb29f4e…

    …a6d763339b258e
    
    Kubernetes-commit: f2157ff73e3c9b7c2a36bf371e388e8976d93975
    jpbetz authored and k8s-publishing-bot committed Nov 5, 2024
    Copy the full SHA
    fe1b41e View commit details
  3. Compartmentalize spew more

    Kubernetes-commit: cf1ef1f14b9f0c5cbbb0b57020e621bb6087d0fc
    thockin authored and k8s-publishing-bot committed Nov 5, 2024
    Copy the full SHA
    d56712b View commit details

Commits on Nov 6, 2024

  1. Merge pull request #128580 from jpbetz/bump-kube-openapi

    Bump kube-openapi to latest
    
    Kubernetes-commit: 9a2a7537f035969a68e432b4cc276dbce8ce1735
    k8s-publishing-bot committed Nov 6, 2024
    Copy the full SHA
    e6ea97e View commit details
  2. Merge pull request #128584 from thockin/compartmentalize_spew

    Compartmentalize spew more
    
    Kubernetes-commit: b631dae5696b85411b24d2f2ec94a0cc51ab013c
    k8s-publishing-bot committed Nov 6, 2024
    Copy the full SHA
    b6646d1 View commit details

Commits on Nov 27, 2024

  1. hack/pin-dependency.sh github.com/google/cel-go v0.22.0

    Kubernetes-commit: b0180a9a376caee4a12cbf549b3187d21cbdc07d
    jpbetz authored and k8s-publishing-bot committed Nov 27, 2024
    Copy the full SHA
    8a64da0 View commit details

Commits on Dec 4, 2024

  1. Revert to go1.22 windows filesystem stdlib behavior

    Kubernetes-commit: 3878a3a6de64660e356a35f70471c27a09698090
    liggitt authored and k8s-publishing-bot committed Dec 4, 2024
    Copy the full SHA
    12118f5 View commit details

Commits on Dec 5, 2024

  1. Merge remote-tracking branch 'origin/master' into release-1.32

    Kubernetes-commit: f5900aab680c34bea040b39ac83dfc48f466b573
    k8s-publishing-bot committed Dec 5, 2024
    Copy the full SHA
    8de2677 View commit details

Commits on Dec 6, 2024

  1. Drop use of winreadlinkvolume godebug option

    Kubernetes-commit: 3046fe23d4fe4ba86713ffd61bf0e07156b2b7c3
    liggitt authored and k8s-publishing-bot committed Dec 6, 2024
    Copy the full SHA
    4dc6732 View commit details
  2. Merge remote-tracking branch 'origin/master' into release-1.32

    Kubernetes-commit: 22b14e54a4caac0a20428e51ba874b1af8b0e4cb
    k8s-publishing-bot committed Dec 6, 2024
    Copy the full SHA
    4c8d150 View commit details

Commits on Dec 11, 2024

  1. Copy the full SHA
    0e3973a View commit details
Showing with 80 additions and 81 deletions.
  1. +25 −21 go.mod
  2. +46 −46 go.sum
  3. +1 −1 reconciler_test.go
  4. +7 −12 util/controller_utils.go
  5. +1 −1 utils_test.go
46 changes: 25 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
@@ -2,32 +2,35 @@

module k8s.io/endpointslice

go 1.22.0
go 1.23.0

godebug default=go1.23

godebug winsymlink=0

require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
github.com/google/go-cmp v0.6.0
github.com/stretchr/testify v1.9.0
k8s.io/api v0.0.0-20240713182828-fc8a03c10db3
k8s.io/apimachinery v0.0.0-20240713182533-d7e1c5311169
k8s.io/client-go v0.0.0-20240713183232-34751e103ae1
k8s.io/component-base v0.0.0-20240713184224-e801fe99c4f5
k8s.io/api v0.32.0
k8s.io/apimachinery v0.32.0
k8s.io/client-go v0.32.0
k8s.io/component-base v0.32.0
k8s.io/klog/v2 v2.130.1
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/gofuzz v1.2.0 // indirect
@@ -46,19 +49,20 @@ require (
github.com/prometheus/procfs v0.15.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/x448/float16 v0.8.4 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/oauth2 v0.21.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/term v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
go.opentelemetry.io/otel v1.28.0 // indirect
go.opentelemetry.io/otel/trace v1.28.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/term v0.25.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/time v0.7.0 // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
92 changes: 46 additions & 46 deletions go.sum
Original file line number Diff line number Diff line change
@@ -15,19 +15,18 @@ github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv
github.com/fxamacker/cbor/v2 v2.7.0/go.mod h1:pxXPTn3joSm21Gbwsv0w9OSA2y1HFR9qXEeXQVeNoDQ=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE=
github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs=
github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ=
github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY=
github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE=
github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k=
github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14=
github.com/go-openapi/swag v0.22.4 h1:QLMzNJnMGPRNDCbySlcj1x01tzU8/9LTTL9hZZZogBU=
github.com/go-openapi/swag v0.22.4/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14=
github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE=
github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ=
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I=
@@ -38,8 +37,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af h1:kmjWCqn2qkEml422C2Rrd27c3VGxi6a/6HNq8QmHRKM=
github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo=
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db h1:097atOisP2aRj7vFgYQBbFN4U4JNXUNYpxael3UzMyo=
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
@@ -64,10 +63,10 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/onsi/ginkgo/v2 v2.19.0 h1:9Cnnf7UHo57Hy3k6/m5k3dRfGTMXGvxhHFvkDTCTpvA=
github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To=
github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
github.com/onsi/ginkgo/v2 v2.21.0 h1:7rg/4f3rB88pb5obDgNZrNHrQ4e6WpjonchcpuBRnZM=
github.com/onsi/ginkgo/v2 v2.21.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo=
github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4=
github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
@@ -98,6 +97,10 @@ github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo=
go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4=
go.opentelemetry.io/otel/trace v1.28.0 h1:GhQ9cUuQGmNDd5BTCP2dAvv75RdMxEfTmYejp+lkx9g=
go.opentelemetry.io/otel/trace v1.28.0/go.mod h1:jPyXzNPg6da9+38HEwElrQiHlVMTnVfM3/yv2OlIHaI=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
@@ -109,68 +112,65 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs=
golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA=
golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0=
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24=
golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/time v0.7.0 h1:ntUhktv3OPE6TgYxXWv9vKvUSJyIFJlyohwbkEwPrKQ=
golang.org/x/time v0.7.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ=
golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/api v0.0.0-20240713182828-fc8a03c10db3 h1:/HdJNMoAomKcMa1p3ei3yF65O36bO3+9VzcZMU1Xn6o=
k8s.io/api v0.0.0-20240713182828-fc8a03c10db3/go.mod h1:P1YOh3DKAaEYfUIAqsGSOKkLqz7k6Z8eORxlNIDQD0E=
k8s.io/apimachinery v0.0.0-20240713182533-d7e1c5311169 h1:uUu5XUsiHPkOU48Bn2d2DoqUQDG9Y02fD43VqYbagPI=
k8s.io/apimachinery v0.0.0-20240713182533-d7e1c5311169/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo=
k8s.io/client-go v0.0.0-20240713183232-34751e103ae1 h1:g2031r79lLso9fNr/KbU83GAsOjFyLAI3JGX7Xdr3gI=
k8s.io/client-go v0.0.0-20240713183232-34751e103ae1/go.mod h1:4MV9/0pbyHXOkdxPNA5dI3+KKKqNfqA4BijKqKDjN/U=
k8s.io/component-base v0.0.0-20240713184224-e801fe99c4f5 h1:73I6ThMvA3JjmRwgx4zyi2fH3BVTq4a8mfOEE7wHakM=
k8s.io/component-base v0.0.0-20240713184224-e801fe99c4f5/go.mod h1:jZywpxGEvQNFuHHJWMaxWO41SOnN6pqd40f0nWjy/J0=
k8s.io/api v0.32.0 h1:OL9JpbvAU5ny9ga2fb24X8H6xQlVp+aJMFlgtQjR9CE=
k8s.io/api v0.32.0/go.mod h1:4LEwHZEf6Q/cG96F3dqR965sYOfmPM7rq81BLgsE0p0=
k8s.io/apimachinery v0.32.0 h1:cFSE7N3rmEEtv4ei5X6DaJPHHX0C+upp+v5lVPiEwpg=
k8s.io/apimachinery v0.32.0/go.mod h1:GpHVgxoKlTxClKcteaeuF1Ul/lDVb74KpZcxcmLDElE=
k8s.io/client-go v0.32.0 h1:DimtMcnN/JIKZcrSrstiwvvZvLjG0aSxy8PxN8IChp8=
k8s.io/client-go v0.32.0/go.mod h1:boDWvdM1Drk4NJj/VddSLnx59X3OPgwrOo0vGbtq9+8=
k8s.io/component-base v0.32.0 h1:d6cWHZkCiiep41ObYQS6IcgzOUQUNpywm39KVYaUqzU=
k8s.io/component-base v0.32.0/go.mod h1:JLG2W5TUxUu5uDyKiH2R/7NnxJo1HlPoRIIbVLkK5eM=
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag=
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98=
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A=
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=
sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08=
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f h1:GA7//TjRY9yWGy1poLzYYJJ4JRdzg3+O6e8I+e+8T5Y=
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f/go.mod h1:R/HEjbvWI0qdfb8viZUeVZm0X6IZnxAydC7YU42CMw4=
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro=
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 h1:/Rv+M11QRah1itp8VhT6HoVx1Ray9eB4DBr+K+/sCJ8=
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3/go.mod h1:18nIHnGi6636UCz6m8i4DhaJ65T6EruyzmoQqI2BVDo=
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 h1:MdmvkGuXi/8io6ixD5wud3vOLwc1rj0aNqRlpuvjmwA=
sigs.k8s.io/structured-merge-diff/v4 v4.4.2/go.mod h1:N8f93tFZh9U6vpxwRArLiikrE5/2tiu1w1AGfACIGE4=
sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
2 changes: 1 addition & 1 deletion reconciler_test.go
Original file line number Diff line number Diff line change
@@ -580,7 +580,7 @@ func TestReconcile1EndpointSlice(t *testing.T) {
if tc.existing != nil {
existingSlices = append(existingSlices, tc.existing)
_, createErr := client.DiscoveryV1().EndpointSlices(namespace).Create(context.TODO(), tc.existing, metav1.CreateOptions{})
assert.Nil(t, createErr, "Expected no error creating endpoint slice")
assert.NoError(t, createErr, "Expected no error creating endpoint slice")
}

numActionsBefore := len(client.Actions())
19 changes: 7 additions & 12 deletions util/controller_utils.go
Original file line number Diff line number Diff line change
@@ -24,11 +24,11 @@ import (
"reflect"
"sort"

"github.com/davecgh/go-spew/spew"
v1 "k8s.io/api/core/v1"
discovery "k8s.io/api/discovery/v1"
"k8s.io/apimachinery/pkg/conversion"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/util/dump"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/apimachinery/pkg/util/sets"
v1listers "k8s.io/client-go/listers/core/v1"
@@ -61,11 +61,12 @@ func GetPodServiceMemberships(serviceLister v1listers.ServiceLister, pod *v1.Pod
// if the service has a nil selector this means selectors match nothing, not everything.
continue
}
key, err := cache.DeletionHandlingMetaNamespaceKeyFunc(service)
if err != nil {
return nil, err
}

if labels.ValidatedSetSelector(service.Spec.Selector).Matches(labels.Set(pod.Labels)) {
key, err := cache.DeletionHandlingMetaNamespaceKeyFunc(service)
if err != nil {
return nil, err
}
set.Insert(key)
}
}
@@ -302,13 +303,7 @@ func stringPtrChanged(ptr1, ptr2 *string) bool {
// copied from k8s.io/kubernetes/pkg/util/hash
func deepHashObject(hasher hash.Hash, objectToWrite interface{}) {
hasher.Reset()
printer := spew.ConfigState{
Indent: " ",
SortKeys: true,
DisableMethods: true,
SpewKeys: true,
}
printer.Fprintf(hasher, "%#v", objectToWrite)
fmt.Fprint(hasher, dump.ForHash(objectToWrite))
}

// IsPodReady returns true if Pods Ready condition is true
2 changes: 1 addition & 1 deletion utils_test.go
Original file line number Diff line number Diff line change
@@ -881,7 +881,7 @@ func TestSetEndpointSliceLabels(t *testing.T) {
logger, _ := ktesting.NewTestContext(t)
svc := tc.updateSvc(service)
labels, updated := setEndpointSliceLabels(logger, tc.epSlice, &svc, controllerName)
assert.EqualValues(t, updated, tc.expectedUpdate)
assert.EqualValues(t, tc.expectedUpdate, updated)
assert.EqualValues(t, tc.expectedLabels, labels)
})
}