Omer Aplatony
6aa674dc5a
Improve message prefer a domain-qualified finalizer
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com >
2024-09-11 22:19:58 +03:00
Harry Li
9bd3826bf1
fix(typo): correct 'reources' to 'resources'
2024-09-05 00:01:28 +08:00
Kubernetes Prow Robot
89fbb3f2d2
Merge pull request #127017 from carlory/flowcontrolv1beta3
...
remove resource flowschemas and prioritylevelconfigurations from legacyBetaEnabledByDefaultResources in v1.32
2024-09-03 21:21:17 +01:00
carlory
49b2c969a3
remove resource flowschemas and prioritylevelconfigurations from legacyBetaEnabledByDefaultResources in v1.32
2024-09-02 11:30:17 +08:00
Anish Ramasekar
c22a41e879
Set credential-id in userinfo.extra for jwt authenticators if jti claim present
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2024-08-30 11:02:44 -07:00
Cici Huang
0f19faf9be
Remove feature gate ValiatingAdmissionPolicy after stable.
2024-08-22 17:39:18 +00:00
Richa Banker
4acedb5132
init a common apiserver for TestAuthorizationDecisionCaching testcases
2024-08-16 10:52:30 -07:00
Richa Banker
342ecab56a
init a common apiserver for Test_ValidateSecondaryAuthorization testcases
2024-08-16 10:52:30 -07:00
Richa Banker
99eaa71f0e
init a common apiserver for TestCRDParams testcases
2024-08-16 10:52:30 -07:00
Richa Banker
de2730a9a6
split Test_CostLimitForValidation into feature-enabled and feature-disabled tests, init a common apiserver for all testcases
2024-08-16 10:52:30 -07:00
Richa Banker
1e03472fe8
init a common apiserver for Test_ValidateNamespace_WithConfigMapParams testcases
2024-08-16 10:52:29 -07:00
Richa Banker
9df04b7c78
split Test_ValidateNamespace_NoParams into successes and failures tests, init a common apiserver for all testcases
2024-08-16 10:52:29 -07:00
Kubernetes Prow Robot
114900ab1f
Merge pull request #126523 from enj/enj/i/ssa_authz_create_err
...
SSA: improve create authz error message
2024-08-16 08:38:38 -07:00
Monis Khan
857127f7c4
SSA: improve create authz error message
...
Signed-off-by: Monis Khan <mok@microsoft.com >
2024-08-02 17:20:53 -04:00
Monis Khan
d76eae46fc
SSA: add integration test to exercise authz
...
Signed-off-by: Monis Khan <mok@microsoft.com >
2024-08-02 17:04:51 -04:00
Anish Ramasekar
d8d0bbff2d
Run apiserver/oidc integration tests in parallel
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2024-07-29 16:58:47 -07:00
Jefftree
56b278d5d2
fix flake in TestLeaseCandidateCleanup
2024-07-24 14:41:13 +00:00
Jefftree
0c774d0b1f
Change PingTime to be persistent
2024-07-24 14:41:13 +00:00
Jefftree
fac7581640
feedback: leasecandidate clients
2024-07-24 14:38:12 +00:00
Dr. Stefan Schimanski
68226b0501
Review feedback
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com >
2024-07-24 14:38:12 +00:00
Jefftree
e0c6987ca8
add gc and improve testing
2024-07-24 14:38:11 +00:00
Jefftree
c47ff1e1a9
CLE controller and client changes
2024-07-24 14:38:11 +00:00
Kubernetes Prow Robot
49ff255074
Merge pull request #126308 from cici37/hotFix
...
Update with stdlib errors
2024-07-23 18:02:07 -07:00
Cici Huang
a48a92c72e
Allowing direct CEL reserved keyword usage in CRD ( #126188 )
...
* automatically escape reserved keywords for direct usage
* Add reserved keyword support in a ratcheting way, add tests.
---------
Co-authored-by: Wenxue Zhao <ballista01@outlook.com >
2024-07-23 15:45:20 -07:00
cici37
ac2c450da7
Update with stdlib errors
2024-07-23 21:16:53 +00:00
Cici Huang
5420b2fe9a
Hot fix for panic on schema conversion. ( #126167 )
2024-07-22 19:43:45 -07:00
Patrick Ohly
91d7882e86
DRA: new API for 1.31
...
This is a complete revamp of the original API. Some of the key
differences:
- refocused on structured parameters and allocating devices
- support for constraints across devices
- support for allocating "all" or a fixed amount
of similar devices in a single request
- no class for ResourceClaims, instead individual
device requests are associated with a mandatory
DeviceClass
For the sake of simplicity, optional basic types (ints, strings) where the null
value is the default are represented as values in the API types. This makes Go
code simpler because it doesn't have to check for nil (consumers) and values
can be set directly (producers). The effect is that in protobuf, these fields
always get encoded because `opt` only has an effect for pointers.
The roundtrip test data for v1.29.0 and v1.30.0 changes because of the new
"request" field. This is considered acceptable because the entire `claims`
field in the pod spec is still alpha.
The implementation is complete enough to bring up the apiserver.
Adapting other components follows.
2024-07-22 18:09:34 +02:00
Patrick Ohly
b51d68bb87
DRA: bump API v1alpha2 -> v1alpha3
...
This is in preparation for revamping the resource.k8s.io completely. Because
there will be no support for transitioning from v1alpha2 to v1alpha3, the
roundtrip test data for that API in 1.29 and 1.30 gets removed.
Repeating the version in the import name of the API packages is not really
required. It was done for a while to support simpler grepping for usage of
alpha APIs, but there are better ways for that now. So during this transition,
"resourceapi" gets used instead of "resourcev1alpha3" and the version gets
dropped from informer and lister imports. The advantage is that the next bump
to v1beta1 will affect fewer source code lines.
Only source code where the version really matters (like API registration)
retains the versioned import.
2024-07-21 17:28:13 +02:00
Kubernetes Prow Robot
8f265b6305
Merge pull request #126136 from cici37/removeFG
...
Remove feature gate CustomResourceValidationExpressions
2024-07-20 00:08:52 -07:00
Jordan Liggitt
83bd512861
Adjust CEL cost calculation and versioning for authorization library
2024-07-19 15:06:49 -04:00
Cici Huang
67a171a142
Remove feature gate CustomResourceValidationExpressions.
2024-07-16 10:39:00 -07:00
Vinayak Goyal
843d6f2d5d
KEP-4633: Add intgration tests for Anonymous Auth Configurable Endpoints.
...
Signed-off-by: Vinayak Goyal <vinaygo@google.com >
2024-07-16 00:17:44 +00:00
Kubernetes Prow Robot
cf33bef284
Merge pull request #125908 from aojea/race_pforward
...
fix race on integration test for portforward
2024-07-08 17:25:10 -07:00
Kubernetes Prow Robot
4a48562a81
Merge pull request #125557 from MikeSpreitzer/apf-int-test-tolerate-more-noise
...
Increase noise margin for TestConcurrencyIsolation
2024-07-08 16:21:34 -07:00
Kubernetes Prow Robot
07cc20a750
Merge pull request #125922 from dims/update_otel_27
...
Update opentelemetry dependencies to the latest release (Take 2)
2024-07-06 17:31:14 -07:00
David Ashpole
2180ec8e8f
fix tracing integration test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-07-05 21:23:57 -04:00
Ben Luddy
d4e146c861
Add integration test for rejecting non-JSON RawExtensions.
...
The content of a RawExtension isn't constrained on its own, but there is a de facto requirement that
the object in a request body can be converted to unstructured. Currently, a RawExtension can only be
converted to unstructured if its Raw field is nil or if it contains valid JSON.
2024-07-05 11:54:14 -04:00
Antonio Ojea
fa62529e6d
fix race on integration test for portforward
2024-07-05 09:06:18 +00:00
Kubernetes Prow Robot
db9419c01d
Merge pull request #125803 from mmorel-35/len+empty/test
...
fix: enable and fixes rules from testifylint on test package
2024-06-30 12:59:21 -07:00
Antonio Ojea
ed597316d6
modify tests to use the networking v1beta1 API
2024-06-30 09:48:46 +00:00
Matthieu MOREL
7bccbaf996
fix: enable and fixes rules from testifylint on test package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-30 05:44:47 +00:00
David Ashpole
7bcb2a96f2
Revert "fix tracing integration test"
...
This reverts commit a3b7cb9374 .
2024-06-26 14:14:26 +00:00
Siyuan Zhang
4352c4ad27
Add version mapping in ComponentGlobalsRegistry.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-06-25 22:12:11 +00:00
Siyuan Zhang
701e5fc374
Add composition flags for emulation version and feature gate.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-06-25 22:12:11 +00:00
Siyuan Zhang
403301bfdf
apiserver: Add API emulation versioning.
...
Co-authored-by: Siyuan Zhang <sizhang@google.com >
Co-authored-by: Joe Betz <jpbetz@google.com >
Co-authored-by: Alex Zielenski <zielenski@google.com >
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-06-25 22:12:11 +00:00
Kubernetes Prow Robot
34dd2007cb
Merge pull request #125263 from jpbetz/fix-nop-apply
...
Fix check to ignore non-semantic changes to objects to handle unstructured
2024-06-25 14:17:51 -07:00
Kubernetes Prow Robot
535e833aef
Merge pull request #125575 from dashpole/update_otel_27
...
Update opentelemetry dependencies to the latest release.
2024-06-24 21:01:46 -07:00
Kubernetes Prow Robot
d236a9127f
Merge pull request #125560 from jpbetz/apply-gen-fake
...
Add field management support to fake client-go typed client
2024-06-24 16:48:46 -07:00
Kubernetes Prow Robot
d5dd5b13a5
Merge pull request #125317 from jpbetz/fix-nop-empty-map
...
Fix non-semantic apply requests to ignore empty maps
2024-06-24 16:48:39 -07:00
Joe Betz
572b0d9fbf
Add integration test
2024-06-24 15:58:51 -04:00