Jiahui Feng
eb407cc3dd
fix convertField and its comments.
...
Kubernetes-commit: d0c323fb8fbfa5c1b91ae445cbda60a416e85e65
2024-01-23 16:47:33 -08:00
Jiahui Feng
3a5a43790e
add support for equality check.
...
Kubernetes-commit: df9620c9f6f6a60f7cbcacb3ad9fa40d79d1d73e
2024-01-23 16:07:39 -08:00
Jiahui Feng
8b89a41f3f
mutation library for CEL.
...
- TypeRef, TypeProvider interfaces.
- TypeRef, TypeProvider, ObjectVal, FieldType implementations
for unstructured.
- Tests for using optional in mutation.
Kubernetes-commit: 9bbdbc510ebf8e2dcb243d6fbbf57449f895196e
2024-01-19 17:03:34 -08:00
Kubernetes Publisher
9d32b8c86a
Merge pull request #120631 from liyuerich/ptrderef
...
Drop deprecated pointer package
Kubernetes-commit: fb1aea9a289e155fa21a57e9512acd61ed1b786b
2024-01-24 21:29:42 +00:00
liyuerich
f709e954ab
drop deprecated pointer package
...
Signed-off-by: liyuerich <yue.li@daocloud.io>
Kubernetes-commit: e490439262fad619d83c5647a42a5382cb9c787b
2023-09-15 21:03:36 +08:00
Kubernetes Publisher
888034e53f
Merge pull request #122518 from cici37/celEnv29
...
Update env version, add cost for previous added func, add tests, etc.
Kubernetes-commit: 31197eba75040cb0b88f488caf18a4c87182abed
2024-01-23 21:29:53 +00:00
Kubernetes Publisher
338910dbd7
Merge pull request #122873 from p0lyn0mial/upstream-reflector-usewatchlist-pointer
...
client-go/reflector: make UseWatchList a pointer
Kubernetes-commit: 445869a59bdbd1c587b72b52c5da94c1d1c316a1
2024-01-22 21:32:29 +00:00
Lukasz Szaszkiewicz
ca8d0aaf91
client-go/reflector: make UseWatchList a pointer
...
until #115478(use streaming against the etcd storage)
is resolved the cacher need a way to disable the streaming.
Kubernetes-commit: 41e706600aea7468f486150d951d3b8948ce89d5
2024-01-19 13:48:29 +01:00
Kubernetes Publisher
9f9c32c4ac
Merge pull request #122842 from pohly/klog-update
...
dependencies: klog v2.120.1
Kubernetes-commit: b27b56a46c4c1e6be0dc2b1a0230d86223a7e903
2024-01-18 21:34:52 +00:00
Kubernetes Publisher
da46024a72
Merge pull request #122839 from pohly/ginkgo-gomega-update
...
dependencies: ginkgo v2.15.0, gomega v1.31.0
Kubernetes-commit: c82da711b0e2184f851675aac4596bbd0f74763f
2024-01-18 21:34:51 +00:00
Patrick Ohly
3a9c95f3b6
dependencies: klog v2.120.1
...
Kubernetes-commit: e2222f1e304831cbbc57b61afa373612297055fb
2024-01-18 16:58:40 +01:00
Patrick Ohly
78fd4a492b
dependencies: ginkgo v2.15.0, gomega v1.31.0
...
The main reason for updating is support for reporting the cause of context
cancellation: Ginkgo provides that information when canceling a context and
Gomega polling code includes that when generating a failure message.
Kubernetes-commit: 18f0af1f000f95749ca1ea075d62ca89e86bb7da
2024-01-18 12:45:55 +01:00
Vandit Singh
ff6a2dc722
Negative index regression test for json-patch ( #122625 )
...
* add testcase with negative index
* exercise successful negative index patching
* use different values for testing
Co-authored-by: Chris Bandy <bandy.chris@gmail.com>
---------
Co-authored-by: Chris Bandy <bandy.chris@gmail.com>
Kubernetes-commit: 83ff8a2f49f820fb355b24c65b8629710dca8a54
2024-01-18 09:31:12 +00:00
Kubernetes Publisher
496d7e7b8b
Merge pull request #122701 from carlory/fix-quota
...
Fix resource deletion failure caused by quota calculation error when InPlacePodVerticalScaling is turned on
Kubernetes-commit: 5ad2c12a6951deffe5394abc48c65417553dd214
2024-01-18 09:31:10 +00:00
Kubernetes Publisher
8ad2e288d6
Merge pull request #122706 from pacoxu/klog-upgrade
...
bump klog to v2.120.0
Kubernetes-commit: 823ecb58f68fbe0a4b37b32e11e75c6f2e0f467c
2024-01-11 21:35:26 +00:00
Paco Xu
3574aabfdd
bump klog to v2.120.0
...
Kubernetes-commit: 3c86d21316c25b52a1cf3f9703a0bc2cbe97131c
2024-01-11 17:35:07 +08:00
carlory
aa358081a5
fix evaluate resource quota if a resource is updated when the InPlacePodVerticalScaling feature-gate is on
...
Kubernetes-commit: 041e97af1f0ee40029dcd44abd63f84514eca59e
2024-01-11 16:04:02 +08:00
Kubernetes Publisher
303f36b718
Merge pull request #122689 from enj/enj/r/ec_hash_cleanup
...
Clean up encryption config reading and hashing logic
Kubernetes-commit: 741fd84d1570caecc533152d3c6c9da6f5de8c4e
2024-01-10 21:34:48 +00:00
Monis Khan
285e6ec394
Clean up encryption config reading and hashing logic
...
This is a no-op change that makes the internal encryption config
hash more specific to it use and explicitly marks it as unstable.
Signed-off-by: Monis Khan <mok@microsoft.com>
Kubernetes-commit: 9387a66c71fd85840cb199b468610b8fa950253f
2024-01-10 14:48:30 -05:00
Kubernetes Publisher
2792cf227c
Merge pull request #122558 from linxiulei/webhook-http2
...
Use http/2 for localhost webhook
Kubernetes-commit: 9bd0ef5f173de3cc2d1d629a4aee499d53690aee
2024-01-04 21:29:10 +00:00
Kubernetes Publisher
a962862e57
Merge pull request #121917 from SataQiu/clean-import-hack
...
Remove import hack about k8s.io/utils/clock/testing
Kubernetes-commit: 4cc0af1d16a37264320f982eb6d42f7e897c10cb
2024-01-04 17:28:58 +00:00
Kubernetes Publisher
547675e994
Merge pull request #122468 from carlory/remove-fg-RemoveSelfLink
...
remove GA featuregate RemoveSelfLink
Kubernetes-commit: 838536f6641eb5b1b875af05f74fc84146ba2f05
2024-01-03 17:28:54 +00:00
Kubernetes Publisher
9ec63da0d7
Merge pull request #122347 from aramase/aramase/c/move_kms_apis
...
kmsv2: move encryption config types to standard API server config location
Kubernetes-commit: a7af34e1b846ce06f3ec1d7d3877b531f22da3ad
2024-01-03 17:28:53 +00:00
Eric Lin
fa628fd528
Use http/2 for localhost webhook
...
Signed-off-by: Eric Lin <exlin@google.com>
Kubernetes-commit: 246e69fb99007412c4903fe8e7ad1d8c5f25cd8e
2024-01-03 13:49:51 +00:00
Kubernetes Publisher
b25363ccbc
Merge pull request #122560 from aramase/aramase/c/add_unique_comment
...
[StructuredAuthnConfig] add comment for extra keys unique requirement
Kubernetes-commit: c686334d41976ca9280cee26263735ede6e1ce85
2024-01-02 23:26:28 +01:00
Anish Ramasekar
6bad17ce50
[StructuredAuthnConfig] add comment for extra keys unique requirement
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Kubernetes-commit: af8da8e01c28286feedf528e94683781a0387a99
2024-01-02 19:58:20 +00:00
Kubernetes Publisher
85936b5b6e
Merge pull request #121602 from bzsuni/cleanup/goleak
...
Update goleak from v1.2.1 to v1.3.0
Kubernetes-commit: c1c68acf29247479c870116d6539c49687ddefdc
2024-01-02 21:28:45 +00:00
bzsuni
86207adac1
Update goleak from v1.2.1 to v1.3.0
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
Kubernetes-commit: 5405dd0f9b801a94f0e74c140231dc0ec7a85499
2024-01-03 00:20:48 +08:00
carlory
4e1e99b0ca
remove GA featuregate RemoveSelfLink
...
Kubernetes-commit: 3b67181c93be39244370b560f83fa7546f7c65c0
2023-12-25 00:29:38 +08:00
Kubernetes Publisher
a6c31ce504
Merge pull request #122412 from MadhavJivrajani/bump-go-tools
...
[go1.22] .*: bump golang.org/x/tools to v0.16.1
Kubernetes-commit: 8a4403a9e5127d2ec3f596c4ce75663e5392cb18
2023-12-20 17:55:00 +00:00
Madhav Jivrajani
4aaa1a6f81
.*: bump golang.org/x/tools to v0.16.1
...
Bumping tools to include the fix for a nil pointer
deref error in go/types. See golang/go#64812
for more details.
This fix is needed for when we bump to go1.22.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
Kubernetes-commit: a8da4202c0ac785d57b545e6e310fd754888b50e
2023-12-20 14:31:31 +05:30
Kubernetes Publisher
f53b05f4c1
Merge pull request #122395 from pohly/ginkgo-gomega-update
...
dependencies: gomega v1.30.0 + ginkgo v2.13.2
Kubernetes-commit: 7897910469aa091ebf6576740d055a7137fa147c
2023-12-20 09:35:14 +00:00
Patrick Ohly
7b55e6215d
dependencies: gomega v1.30.0 + ginkgo v2.13.2
...
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful
for https://github.com/kubernetes/kubernetes/issues/105678 .
Kubernetes-commit: c8f9ebfb72b6569b4e2ec9733f6998afc6602135
2023-12-19 16:16:02 +01:00
Kubernetes Publisher
8635466196
Merge pull request #122310 from weilaaa/use_buildin_max_min_instead
...
use build-in max and min func to instead of k8s.io/utils/integer funcs
Kubernetes-commit: 2b5c0c281d7d3b75ed7df683f09339147c4a17e9
2023-12-18 21:31:53 +00:00
Kubernetes Publisher
78157c73d3
Merge pull request #122036 from linxiulei/cleanup
...
Minor cleanup for handlers/watch
Kubernetes-commit: 368dfe3a88d2227dd192c0160fbdf0b081950d29
2023-12-18 13:29:46 +00:00
Kubernetes Publisher
0492dacbde
Merge pull request #121684 from jmhbnz/fix-etcd-repo
...
Fix etcd repository path to prevent redirects
Kubernetes-commit: b46e436e18b9318e0a7e3ca971c5b89df8d2f087
2023-12-18 13:29:45 +00:00
Kubernetes Publisher
748f6de880
Merge pull request #121912 from JoelSpeed/cel-ip-addr
...
CEL library extensions for IP Address and CIDR network parsing
Kubernetes-commit: 76cd7521aa6216fb069dbd2d1f0f2c7a37fba32f
2023-12-16 13:29:47 +00:00
Anish Ramasekar
e7eedd15ec
move encryption config types to standard API server config location
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Kubernetes-commit: 75695dae1093cc08cb56a4930c0be8e7e4433be1
2023-12-16 00:00:21 +00:00
Joel Speed
ccc28d3f49
Add tests for CIDR type
...
Kubernetes-commit: b3285fa8df494ef174bbee1ccffcc5e3a58afcdd
2023-12-15 11:01:55 +00:00
weilaaa
febd537a31
use build-in max and min func to instead of k8s.io/utils/integer funcs
...
Kubernetes-commit: eb8f3f194fed16484162aebdaab69168e02f8cb4
2023-12-15 15:09:11 +08:00
Joel Speed
f16e0c2a18
Add tests for IP type
...
Kubernetes-commit: 31f9384646a5cfd001f176454feb9c1040591e96
2023-12-08 18:16:30 +00:00
Cici Huang
8b49df5c88
Update env version, Add cost for previous func, add tests, etc.
...
Kubernetes-commit: 3fb679016423e80b87cf3e540d296471223460e6
2023-12-05 23:26:13 +00:00
Eric Lin
a2e6b85db4
handlers/watch: refactor watch serving to prepare offloading
...
Signed-off-by: Eric Lin <exlin@google.com>
Kubernetes-commit: 87d817e62d8c6e93cf45bf90a7ecadfe4156ab1f
2023-11-27 10:06:50 +00:00
Joel Speed
e5f605855d
Add costing estimations for IP and CIDR
...
Kubernetes-commit: e1f9aa450b7ecd62ce7284486a159d14f66c1761
2023-11-17 17:34:46 +00:00
Joel Speed
e4fb1f737e
Add IP and CIDR libraries to CEL environment for 1.30
...
Kubernetes-commit: 4710f085b3d4dbf242085f4cb53708efc7ebbefd
2023-11-17 13:57:29 +00:00
SataQiu
7751f0aa90
remove import hack about k8s.io/utils/clock/testing
...
Kubernetes-commit: 81d040d538101b89bd8edd51bb78a58ea5bf793c
2023-11-16 12:30:14 +08:00
Joel Speed
f4ae0b7ca6
Add CIDR network CEL extension
...
This adds new CEL functions to the library for validating if a string is a CIDR notation.
This will work in conjunction with the IPAddr to allow checking if an IPAddr exists within a particular network.
Kubernetes-commit: 2f585b451232814d6563329241e96f09bfd1cb73
2023-11-15 19:04:48 +00:00
Joel Speed
3fe1439ba9
Add special IP validations to IP CEL type
...
Kubernetes-commit: 13b22b23a1a5f8976fa608c7bc8b3048470b5c51
2023-11-17 12:51:32 +00:00
Joel Speed
ccfdc9aba1
Add IP address CEL extension
...
This adds new CEL functions to the library for validating if a string is an IP address,
and, if it can be parsed as an IP address, adds additional accessors to get properties
of the IP address.
Kubernetes-commit: c6aa360d3ef9895323b239686719dd9223ee4f37
2023-11-15 18:35:34 +00:00
Kubernetes Publisher
3fcf3290fc
Merge pull request #121773 from pohly/zapr-update
...
dependencies: zapr v1.3.0, zap v1.26.0
Kubernetes-commit: e12d4b63d64a1dd3497cb8063efb2588c04abdc1
2023-12-14 21:35:30 +00:00