Wojciech Tyczyński
27bbe76535
Remove support for EndpointsLeases and ConfigMapsLeases lock from leader election
...
Kubernetes-commit: 2bd42061b6e8035c3def54545ccc4baf95bd6586
2023-04-24 15:08:10 +02:00
Kubernetes Publisher
b26f379fe1
Merge pull request #117350 from mohitsharma-in/update/google-golang-protobuf
...
Dependencies: Update google.golang.org/protobuf v1.30.0
Kubernetes-commit: b925ce244638187dbf0f502ecb6e02db149970aa
2023-04-25 17:51:11 +00:00
Kubernetes Publisher
d2b87849d5
Merge pull request #117483 from ArkaSaha30/bump-gofuzz
...
dependencies:update `github.com/google/gofuzz` to v1.2.0
Kubernetes-commit: 7fbe3cba41915cad69f376eb6b3d3a326d51cd11
2023-04-24 21:58:24 +00:00
Kubernetes Publisher
e846cbee0d
Merge pull request #117482 from ArkaSaha30/bump-go-logr
...
dependencies:update `github.com/go-logr/logr` to v1.2.4
Kubernetes-commit: f77e570fbadbf91c05840a1f6f9b6aec860de400
2023-04-24 21:58:15 +00:00
Akhil Mohan
a9d165e169
chore: update cgroups and ttrpc versions
...
- update github.com/containerd/cgroups to v1.1.0
- update github.com/containerd/ttrpc to v1.2.1
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
Kubernetes-commit: 76fe41a996ec78d9774e1f1ca9d1d7ec40522f98
2023-04-23 22:23:42 -07:00
Kubernetes Publisher
bc930747ec
Merge pull request #116972 from apelisse/update-openapi-file-client
...
openapi: Make file client more easy to re-use
Kubernetes-commit: 065428befa06c1d99deb4160b4490a8bf1a377ee
2023-04-21 05:44:30 +00:00
Kubernetes Publisher
861f50a667
Merge pull request #117352 from mohitsharma-in/update/golang_x_tools
...
dependencies: Update golang.org/x/tools to v0.8.0
Kubernetes-commit: bda7e8979088614c60ee21fd2602d00786e2ea78
2023-04-20 09:58:09 +00:00
ArkaSaha30
e367d8e4c2
update gofuzz dependency
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
Kubernetes-commit: 1d15354ccb56b2e367cc403777255125ef65b7df
2023-04-19 21:08:16 +05:30
ArkaSaha30
061a00296e
Update go-logr dependencies
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
Kubernetes-commit: 2cd23c8b17c93f75a30cf3f651369d7a932aef2d
2023-04-19 21:01:55 +05:30
Mohit Sharma
23557e107c
Dependencies Update golang.org/x/tools v0.7.0 to v0.8.0
...
Kubernetes-commit: 6f90c5363301c9417a3a806cac69f3e79e66a66c
2023-04-14 04:39:43 -07:00
Kubernetes Publisher
c84a3771c0
Merge pull request #117399 from mohitsharma-in/update/golang_time
...
dependencies : Update golang.org/x/time v0.3.0
Kubernetes-commit: cf89189ca3a3e5d280ba1cb09998c4b88dc1e127
2023-04-19 13:48:47 +00:00
Mohit Sharma
34d738fb5d
Dependencies Update golang.org/x/timet 90d013bbcef8 to v0.3.0
...
Kubernetes-commit: 4d73864026cde02f4a1cdf9e889a124174d38e38
2023-04-16 22:18:35 -07:00
Mohit Sharma
1aeffb0799
Dependencies Update google.golang.org/protobuf v1.28.1 to v1.30.0
...
Kubernetes-commit: 8efeb5afcfd006a48d6e1263a5cf8de3284797df
2023-04-14 04:28:47 -07:00
Kubernetes Publisher
1dc92da663
Merge pull request #117278 from haoruan/cleanup/replace-spew-with-dump
...
replace spew methods with dump methods
Kubernetes-commit: d060d487dcd74bc1a557f9378035696db40c64c2
2023-04-14 05:53:56 +00:00
Kubernetes Publisher
4e89310f6e
Merge pull request #117285 from humblec/azure-go-autorest
...
dependencies: update gh/Azure/auto-test/{adal,validation}
Kubernetes-commit: ba0a8f9cceb513bc36bd803e9bf8f9a8c3912ff2
2023-04-13 21:52:00 +00:00
Humble Chirammal
8b888b0027
dependencies: update gh/Azure/auto-test/{adal,validation}
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
Kubernetes-commit: 6d13cad2cf56d0bad77a6410a0c36b2cf8f0df57
2023-04-13 23:25:48 +05:30
Kubernetes Publisher
46f963913c
Merge pull request #116896 from thockin/apimachinery_util_diff_cleanup
...
apimachinery util/diff cleanups
Kubernetes-commit: c3e3ff989ac9abfb0dc3b958fcb698fcce952f8c
2023-04-13 12:51:58 +00:00
Hao Ruan
ef522cc423
replace spew methods with dump methods
...
Kubernetes-commit: c4e1b01416ec05e6a520a181d4ce3b4333adb4e4
2023-04-13 09:41:07 +08:00
Antoine Pelisse
12beb34ceb
openapi: Make file client more easy to re-use
...
A few notes about the change:
1. I need to initialize the fileclient once, in an init function, so I
don't have access to `testing.T` yet.
2. I want to be able to configure the openapi files that I use
3. We already have a "cache" client that wraps another client, we don't
need to re-implement caching here, one can just do:
`cache.NewClient(openapitest.NewFileClient("some/path"))` to do a cached
client. Or initialize it in an init/global var.
Since there is still some value to use the embedded file, make an
alternative constructor while using fs.FS interface to be able to
manipulate both virtual and disk-based filesystems.
Kubernetes-commit: 29503fd8d45bc2c9438e92936bf4111162529b40
2023-03-28 13:40:28 -07:00
Tim Hockin
12553015e2
Replace uses of ObjectReflectDiff with cmp.Diff
...
ObjectReflectDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
Kubernetes-commit: bc302fa4144d21a338683cd83701661f97be4aba
2023-03-23 11:34:03 -07:00
Tim Hockin
c4339eeca9
Replace uses of ObjectGoPrintDiff with cmp.Diff
...
ObjectGoPrintDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
Kubernetes-commit: 9627c50ef37f3b5274486e6f5ad37b73b1b69bf0
2023-03-23 11:31:25 -07:00
Tim Hockin
7114041b4f
Replace uses of diff.ObjectDiff with cmp.Diff
...
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
Kubernetes-commit: 29c0b73d640b6e50c4f2dfeee7b07ca66a530dbd
2023-03-23 11:29:01 -07:00
Kubernetes Publisher
8005e0d28b
Merge pull request #116869 from MikeSpreitzer/add-structure
...
Add structured alternatives to strings in client-go/tools/cache
Kubernetes-commit: 5052d31d6582c58cd82ccba084b11590fc82ba47
2023-04-12 04:02:58 +00:00
Kubernetes Publisher
20bcfef42d
Merge pull request #114800 from haoruan/feature-8976-spew-sprintf-refactor
...
Capture spew.Sprintf() with all our favorite config into a util func
Kubernetes-commit: d0fc9d16ce1c8ac523e9dc90e14af542b09cd3b3
2023-04-12 00:07:19 +00:00
Kubernetes Publisher
04ef61f72b
Merge pull request #116948 from MadhavJivrajani/fix-verify-vendor
...
.*: update vendor dir and cleanup
Kubernetes-commit: 3a46f2611503b4d8a8ab557bf2541ac9c1be695a
2023-03-27 18:23:04 +00:00
Madhav Jivrajani
012beed4e0
.*: update vendor dir and cleanup
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
Kubernetes-commit: 63b5ca69f1f481b2b4b2ee967f5b8b7b58937211
2023-03-27 19:18:05 +05:30
Mike Spreitzer
8301a60862
Added conversions to/from NamespacedName
...
Also renamed file to something more on-point.
Kubernetes-commit: 8d92cfb13163f596feddfe1b5e734fd1ba4f6323
2023-03-22 16:55:07 -04:00
Mike Spreitzer
42799afb70
Add structured alternatives to strings in client-go/tools/cache
...
Kubernetes-commit: ec9515a828ec3907ffc66913947adf4e8ee7b9d6
2023-03-22 16:21:17 -04:00
Kubernetes Publisher
1517ffb8d3
Merge pull request #116623 from lavalamp/xfrmr
...
change where transformers are called
Kubernetes-commit: 76d351065e504e23b7962158ef0e9067b6bd96ed
2023-03-17 00:11:43 +00:00
Kubernetes Publisher
308e6b1055
Merge pull request #113218 from ahmedtd/kep-3257
...
Add certificates.k8s.io/v1alpha1 ClusterTrustBundle
Kubernetes-commit: a34e37c9963af5944435b736882bfcd1e81f7e09
2023-03-16 20:00:06 +00:00
Daniel Smith
c3b84f0438
Change where transformers are called.
...
Kubernetes-commit: e76dff38cf74c3c8ad9ed4d3bc6e3641d9b64565
2023-03-14 23:05:20 +00:00
Stephen Kitt
20433f9965
api-machinery: replace intstr.FromInt with intstr.FromInt32
...
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 94410ee8078971b8894e5c400ce3fc79f02bc510
2023-03-14 16:17:48 +01:00
Antonio Ojea
9ed804b6d5
improve remotecommand testing fuzzing the data stream
...
Change-Id: I1303bc79a8c43fc4fb04bf76afcf90653ceb9e14
Kubernetes-commit: 60d25c3ed77cbd8341fc7ae984e165e7046e5c9b
2023-03-01 19:56:41 +00:00
Sunil Shivanand
aea98eb150
combine conditional checks
...
Signed-off-by: Sunil Shivanand <sunil.shivanand@statnett.no>
Kubernetes-commit: 80480f8e21572cba152a4f6f171ebb5de8c6bafb
2023-01-11 09:45:37 +01:00
Sunil Shivanand
0d54cf50db
handle event errors caused due to terminating namespaces
...
Create events are forbidden in terminating namespaces, use info
instead of error to log the failed event.
Signed-off-by: Sunil Shivanand <sunil.shivanand@statnett.no>
Kubernetes-commit: 7a6d58001b7d824f92601fd246b3aad9fbb9c583
2023-01-05 12:56:40 +01:00
Hao Ruan
db3650d98f
replaced spew.Sprintf with a util pretty print function
...
Kubernetes-commit: f638e2849fbddeb201b8290586a4747af99086bf
2023-01-04 14:12:56 +08:00
Timo Reimann
d3003795b3
Localize SpyWorkQueue to cloud-provider for now
...
Kubernetes-commit: 208af2d1d83488de933977849581207149b829ee
2022-11-09 07:32:40 +01:00
Taahir Ahmed
4c5879adb0
ClusterTrustBundles: make update
...
Kubernetes-commit: 2e4b637bf8f304c5264b93cced659c2bcbb66733
2022-11-07 11:45:53 -08:00
Max Smythe
4666344cbc
Custom match criteria ( #116350 )
...
* Add custom match conditions for CEL admission
This PR is based off of, and dependent on the following PR:
https://github.com/kubernetes/kubernetes/pull/116261
Signed-off-by: Max Smythe <smythe@google.com>
* run `make update`
Signed-off-by: Max Smythe <smythe@google.com>
* Fix unit tests
Signed-off-by: Max Smythe <smythe@google.com>
* Fix unit tests
Signed-off-by: Max Smythe <smythe@google.com>
* Update compatibility test data
Signed-off-by: Max Smythe <smythe@google.com>
* Revert "Update compatibility test data"
This reverts commit 312ba7f9e74e0ec4a7ac1f07bf575479c608af28.
* Allow params during validation; make match conditions optional
Signed-off-by: Max Smythe <smythe@google.com>
* Add conditional ignoring of matcher CEL expression validation on update
Signed-off-by: Max Smythe <smythe@google.com>
* Run codegen
Signed-off-by: Max Smythe <smythe@google.com>
* Add more validation tests
Signed-off-by: Max Smythe <smythe@google.com>
* Short-circuit CEL matcher when no matchers specified
Signed-off-by: Max Smythe <smythe@google.com>
* Run codegen
Signed-off-by: Max Smythe <smythe@google.com>
* Address review comments
Signed-off-by: Max Smythe <smythe@google.com>
---------
Signed-off-by: Max Smythe <smythe@google.com>
Kubernetes-commit: e5fd204c33e90a7e8f5a0ee70242f1296a5ec7af
2023-03-16 04:07:18 +00:00
Igor Velichkovich
38589731da
Matchconditions admission webhooks alpha implementation for kep-3716 ( #116261 )
...
* api changes adding match conditions
* feature gate and registry strategy to drop fields
* matchConditions logic for admission webhooks
* feedback
* update test
* import order
* bears.com
* update fail policy ignore behavior
* update docs and matcher to hold fail policy as non-pointer
* update matcher error aggregation, fix early fail failpolicy ignore, update docs
* final cleanup
* openapi gen
Kubernetes-commit: 5e5b3029f3bbfc93c3569f07ad300a5c6057fc58
2023-03-15 06:19:12 +00:00
Kubernetes Publisher
445660b561
Merge pull request #116332 from klueska/extend-resourceclaimstatus
...
Update resource.AllocationResult with a slice of ResourceHandlers
Kubernetes-commit: ae36991498282514da3fe771b0dd9de66b991c86
2023-03-15 06:19:06 +00:00
Kubernetes Publisher
e023fb8815
Merge pull request #116119 from vinaykul/restart-free-pod-vertical-scaling-fixes
...
Restructure resize policy naming and set default resize policy values
Kubernetes-commit: 9053b5dc2c8e0b977e759b9f076d1a52bafabbb7
2023-03-15 06:18:59 +00:00
Kubernetes Publisher
9ff2627505
Merge pull request #115075 from aojea/ipaddress
...
IPAddress allocator
Kubernetes-commit: f44d561c1f8c327bdf2ff3bff175bd10d161454c
2023-03-15 06:18:52 +00:00
Kubernetes Publisher
84ae514115
Merge pull request #116539 from pohly/ginkgo-gomega-update
...
dependencies: ginkgo v2.9.1, gomega v1.27.3
Kubernetes-commit: f22504a9bafd5e34d86853a816d10578376aadc2
2023-03-15 06:18:45 +00:00
Kubernetes Publisher
ef07195878
Merge pull request #114242 from austince/feat/per-queue-metrics
...
Allow setting per-workqueue metrics providers
Kubernetes-commit: 98b1980a42ad197404d65a5022a32dcdc2087784
2023-03-15 06:18:38 +00:00
Kubernetes Publisher
23d016c390
Merge pull request #107826 from smarterclayton/context_wait
...
wait: Introduce new methods that allow detection of context cancellation
Kubernetes-commit: 5469b170fe8717cb9fae8f12498cd1afd5586891
2023-03-15 06:18:32 +00:00
Kubernetes Publisher
f3dc70cf10
Merge pull request #116603 from seans3/discovery-resilience
...
Aggregated discovery client resilient to nil GVK in response
Kubernetes-commit: a9fd6dfc736da314096f1fda24171119e58017c6
2023-03-15 06:18:27 +00:00
Kubernetes Publisher
48d97c09db
Merge pull request #116556 from pohly/dra-podschedulingcontext
...
dra: PodScheduling -> PodSchedulingContext
Kubernetes-commit: fbfc887a097b2f7cddd065deacbff03abf0bfef6
2023-03-15 06:18:23 +00:00
Kubernetes Publisher
2a7ba94880
Merge pull request #112334 from dgrisonnet/fix-eventseries-count
...
Fix EventSeries starting count discrepancy
Kubernetes-commit: 689fc37dd2f92ca61f4f2405186cb7e097be3ab1
2023-03-15 06:18:17 +00:00
Kubernetes Publisher
3cafc13f5d
Merge pull request #116299 from pohly/dra-v1alpha2
...
api: resource.k8s.io v1alpha1 -> v1alpha2
Kubernetes-commit: 0e06be57a65792ad5744b5ddf6abe95dd20ac773
2023-03-15 06:18:13 +00:00