Commit Graph

119747 Commits

Author SHA1 Message Date
Jefftree
e7216c6623 use OpenAPIV3 for kubectl diff 2023-10-31 12:45:45 -04:00
Jefftree
4f3b0b1518 Use OpenAPI V3 for client side SMP 2023-10-31 12:45:45 -04:00
Anish Ramasekar
6b971153d7
add new fields in v1alpha1 StructuredAuthenticationConfiguration
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-10-31 16:45:01 +00:00
Michal Wozniak
168e016947 Benchmark job with backoff limit per index 2023-10-31 17:35:39 +01:00
Monis Khan
6ac7da1da8
encryptionconfig/controller: run unit tests faster
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-10-31 11:59:37 -04:00
Lubomir I. Ivanov
c2a365c6a7 kubeadm: do not poll in TestEnsureAdminClusterRoleBindingImpl
In EnsureAdminClusterRoleBindingImpl() there are a couple of
polls around CRB create calls. When testing the function
a short retry and a timeout are used. These introduce around
2x20 fake client "connections" / poll iterations under a couple
of test cases with 2 seconds overall test increase.

Given the polls in EnsureAdminClusterRoleBindingImpl()
are of type PollUntilContextTimeout() with "immediate" set to "true",
the short retry / time out can be removed when testing,
because one poll iteration is guaranteed and the tested function
is at 100% coverage with reactors and test cases.
2023-10-31 17:37:10 +02:00
Antonio Ojea
c2cb320913 Revert "cacher: when forgeting a watcher, call stopWatcherLocked multiple times"
This reverts commit bbca4a4b9a.
2023-10-31 15:28:01 +00:00
Wojciech Tyczynski
98a2f22e74
Revert "Make the decode function respect the timeout context" 2023-10-31 16:27:17 +01:00
Kubernetes Prow Robot
74fefd877f
Merge pull request #121638 from tkashem/apf-ga
apiserver: set APF featuregate to stable
2023-10-31 15:57:57 +01:00
Abu Kashem
c7fcef1875
apiserver: set APF featuregate to ga 2023-10-31 08:46:24 -04:00
Kubernetes Prow Robot
d84ee0ba69
Merge pull request #121632 from kerthcet/fix/runscoreplugins
Fix panic when process RunScorePlugins for cap out of range
2023-10-31 13:14:32 +01:00
Kubernetes Prow Robot
947953f308
Merge pull request #121616 from dims/try-a-single-gcloud-command-for-scp-ing-all-files
Single gcloud command for scp-ing all files
2023-10-31 13:14:23 +01:00
Kubernetes Prow Robot
5bac451d1f
Merge pull request #121615 from p0lyn0mial/upstream-cacher-forget-watcher
cacher: when forgeting a watcher, call stopWatcherLocked multiple times
2023-10-31 13:14:14 +01:00
Kubernetes Prow Robot
d337523d62
Merge pull request #121588 from vlasebian/fix-issue-121209
Fix flaky test for services that shouldn't be available when PublishNotReadyAddresses is false
2023-10-31 13:14:06 +01:00
Kubernetes Prow Robot
064e86b3d0
Merge pull request #121223 from ritazh/authz-cel
[StructuredAuthorizationConfig] - CEL integration
2023-10-31 13:13:56 +01:00
Kubernetes Prow Robot
84fb7b5ce0
Merge pull request #121504 from pohly/golangci-lint-godoc
golangci-lint: enable doc comment checking for cmd/kubeadm
2023-10-31 12:09:17 +01:00
Sai Ramesh Vanka
8e52fc7266 Minor fix to copy the required kubelet, service logs after the execution of the node e2e tests
* It is observed in some of the periodic job results that the kubelet along with few other logs
are not getting copied to the artifacts directory once the node e2e tests are executed
* Following is the sample error log that is displayed once the tests are run
```
I1031 13:15:49.056897   40204 ssh.go:146] Running the command ssh, with args: [-o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o CheckHostIP=no -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o LogLevel=ERROR -i /home/svanka/.ssh/google_compute_engine core@35.185.108.51 -- sudo ls core@35.185.108.51:/tmp/node-e2e-20231031T125637/results/*.log]
E1031 13:16:15.346641   40204 ssh.go:149] failed to run SSH command: out: ls: cannot access 'core@35.185.108.51:/tmp/node-e2e-20231031T125637/results/*.log': No such file or directory
, err: exit status 2
```
* This change fixes the above issue and helps in gathering the required test artifacts once the tests execution is completed

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2023-10-31 15:36:39 +05:30
Kubernetes Prow Robot
e8d45596df
Merge pull request #121049 from siyuanfoundation/refactor
k8s.io/apiserver/storage/etcd: refactor etcd GetList.
2023-10-31 10:49:33 +01:00
kerthcet
b02aad42fa Fix panic when process RunScorePlugins for cap out of range
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-10-31 16:02:16 +08:00
Rita Zhang
31c76e9abb
authz: add cel expression to webhook matchconditions
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-10-30 21:48:00 -07:00
carlory
56ab6c5942 generated changes 2023-10-31 11:26:35 +08:00
carlory
ae90a69677 volumeattributesclass and core api changes 2023-10-31 11:18:56 +08:00
Kubernetes Prow Robot
f5a5d83d7c
Merge pull request #121089 from tkashem/apf-v1
Promote APF API to v1
2023-10-31 02:39:30 +01:00
Michelle Au
c4aab1036f Add sig OWNERS to registry packages 2023-10-31 01:20:16 +00:00
Kubernetes Prow Robot
ab13d0b47c
Merge pull request #120780 from munnerz/bound-token-improvements
Including JTI & node reference in issued service account tokens (kep 4193)
2023-10-31 01:22:56 +01:00
Kubernetes Prow Robot
e823b56a0b
Merge pull request #116932 from my-git9/ut-preemption
[ut] Increase test coverage for kubelet/pleg
2023-10-31 01:22:47 +01:00
Kubernetes Prow Robot
af18989486
Merge pull request #116931 from my-git9/CreateListener-ut
[ut] increase covrage for kubelet/prober/results
2023-10-31 01:22:29 +01:00
Kubernetes Prow Robot
2a4d5c5fd5
Merge pull request #120300 from wojtek-t/refactor_streaming_watch_encoder
Refactor streaming watch encoder to enable caching
2023-10-31 00:09:12 +01:00
Filip Křepinský
1daf1b0705 test that controller descriptors should not be feature gated
controllers enabled by default should define feature gates in
ControllerDescriptor.requiredFeatureGates and not during a descriptor
registration in NewControllerDescriptors
2023-10-31 00:00:34 +01:00
Filip Křepinský
fed11c0793 remove unnecessary gating of taint-eviction-controller descriptor 2023-10-31 00:00:14 +01:00
Antoine Pelisse
5b268e6daf apply: Add test for duplicates in associative lists 2023-10-30 15:55:50 -07:00
Antoine Pelisse
9d1847c196 managedfields: Allow duplicates for built-in updates associative lists 2023-10-30 15:55:50 -07:00
Antoine Pelisse
dec443b305 Update sigs.k8s.io/structured-merge-diff to v4.4.1 2023-10-30 15:34:18 -07:00
Abu Kashem
b8cd792b36
rename the roundtrip annotation, forbid it in v1 2023-10-30 18:22:51 -04:00
Kubernetes Prow Robot
2a1140305c
Merge pull request #121614 from HirazawaUi/decode-respect-timeout-context
Make the decode function respect the timeout context
2023-10-30 22:42:26 +01:00
Kubernetes Prow Robot
c7bb17ebd0
Merge pull request #121600 from seans3/load-openapi-explain
Lazy-load OpenAPI V2 Specifications for kubectl explain
2023-10-30 22:42:17 +01:00
Kubernetes Prow Robot
08070433cc
Merge pull request #121373 from cici37/crdGA
[KEP-2876] Promote CRD validation rule to GA
2023-10-30 22:42:09 +01:00
Kubernetes Prow Robot
07515c0021
Merge pull request #121311 from nilekhc/validation-doc
chore: updates api doc
2023-10-30 22:41:59 +01:00
Kubernetes Prow Robot
4106366b6d
Merge pull request #121065 from byako/issue121063
DRA: notify ResourceClaim or ResourceClass of params error
2023-10-30 22:41:41 +01:00
James Munnelly
76463e21d4 KEP-4193: bound service account token improvements 2023-10-30 21:15:10 +00:00
Kubernetes Prow Robot
5cb83d1cd2
Merge pull request #121609 from neolit123/1.29-super-admin-conf
kubeadm: poll additional CRB create calls for kubeadm:cluster-admins
2023-10-30 21:12:00 +01:00
Kubernetes Prow Robot
05765a851c
Merge pull request #121389 from aleksandra-malinowska/sts-restart-always
Resubmit "Make StatefulSet restart pods with phase Succeeded"
2023-10-30 21:11:51 +01:00
Kubernetes Prow Robot
d4592dc70a
Merge pull request #121310 from nilekhc/polling
[KMSv2] feat: updates encryption config file watch logic to polling
2023-10-30 21:11:42 +01:00
Kubernetes Prow Robot
e4212878dd
Merge pull request #119208 from atosatto/separate-taint-manager
Decouple TaintManager from NodeLifeCycleController (KEP-3902)
2023-10-30 21:11:33 +01:00
Kubernetes Prow Robot
ceea5fd0cb
Merge pull request #119109 from jiahuif-forks/feature/validating-admission-policy/crd-typechecking
ValidatingAdmissionPolicy - Type Checking for API Expensions types
2023-10-30 21:11:19 +01:00
Siyuan Zhang
a968f51fa2 k8s.io/apiserver/storage/etcd: refactor etcd GetList.
Reorder some code.

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-10-30 12:48:32 -07:00
Siyuan Zhang
84ec5e2ecc k8s.io/apiserver/storage/etcd: refactor etcd GetList.
reduce redundant update of withRev after request.

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-10-30 12:38:34 -07:00
Cici Huang
8d804078f9 Add set ext library into Kubernetes and pick up the new option cel provides 2023-10-30 19:08:42 +00:00
Cici Huang
70c1f2143f Bump cel-go to v0.17.7 2023-10-30 19:08:22 +00:00
Kubernetes Prow Robot
16fc00493b
Merge pull request #121307 from cici37/celUpdate
Add cel new validator into Kubernetes
2023-10-30 20:02:55 +01:00