Commit Graph

16362 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b3ea9c9e2b
Merge pull request #111218 from nixpanic/mount-utils/no-systemd
mount-utils: add Linux specific non-systemd Mounter
2022-08-01 10:24:28 -07:00
Kubernetes Prow Robot
bddb4ec08e
Merge pull request #111486 from peizhouyu/fix-apply-help-text
fix that beginning of help text is cut off for apply and replace --filename flag
2022-08-01 07:50:52 -07:00
Sascha Grunert
584783ee9f
Partly remove support for seccomp annotations
We now partly drop the support for seccomp annotations which is planned
for v1.25 as part of the KEP:

https://github.com/kubernetes/enhancements/issues/135

Pod security policies are not touched by this change and therefore we
have to keep the annotation key constants.

This means we only allow the usage of the annotations for backwards
compatibility reasons while the synchronization of the field to
annotation is no longer supported. Using the annotations for static pods
is also not supported any more.

Making the annotations fully non-functional will be deferred to a
future release.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-08-01 09:19:29 +02:00
ialidzhikov
6aa5efb1bd Update k8s.io/utils to ee6ede2d64ed 2022-07-31 16:33:14 +03:00
Kubernetes Prow Robot
262d8b2a77
Merge pull request #111446 from alexzielenski/trivial-x-preserve-unknown-fields-correction
correct OpenAPI extension in error message
2022-07-30 05:06:27 -07:00
Kubernetes Prow Robot
3902a53419
Merge pull request #111441 from denkensk/respect-topology
Respect PodTopologySpread after rolling upgrades
2022-07-30 01:40:42 -07:00
Alex Wang
86a2a85e7d code generated by script for MatchLabelKeys in TopologySpreadConstraint
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:24:55 +08:00
Alex Wang
e6c2bf8516 api defination for MatchLabelKeys in TopologySpreadConstraint
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:21:16 +08:00
Kubernetes Prow Robot
f6e163fe27
Merge pull request #111450 from HecarimV/fix-22072710
cleanup: omit redundant arguments in make call
2022-07-29 19:29:52 -07:00
Kubernetes Prow Robot
cf2800b812
Merge pull request #111402 from verb/111030-ec-ga
Promote EphemeralContainers feature to GA
2022-07-29 19:29:20 -07:00
Kubernetes Prow Robot
8cecf183a6
Merge pull request #110851 from negz/more-like-mac-slow-s
Use checksums instead of fsyncs to avoid slow discovery caching on MacOS
2022-07-29 18:11:12 -07:00
Kubernetes Prow Robot
5065f7296a
Merge pull request #111454 from HecarimV/fix-log-capitalized
cleanup: fix some error log capitalization
2022-07-29 09:59:23 -07:00
Kubernetes Prow Robot
442548a064
Merge pull request #110534 from kerthcet/feat/ga-component-config
Graduate component config to stable in kube-scheduler
2022-07-29 09:59:11 -07:00
Kubernetes Prow Robot
762f39e2db
Merge pull request #111524 from cici37/celBeta
Promote feature CustomResourceValidationExpressions to beta
2022-07-29 08:35:23 -07:00
Kubernetes Prow Robot
95303390ac
Merge pull request #111519 from jpbetz/skip-cel-validation
Skip CEL expression validation if OpenAPIv3 schema is invalid
2022-07-28 21:37:10 -07:00
Joe Betz
95b0d44a56 Skip CEL expression validation if OpenAPIv3 schema is invalid
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2022-07-28 23:27:28 -04:00
peizhouyu
d216b3433d fix that beginning of help text is cut off for apply and replace --filename flag 2022-07-29 11:26:56 +08:00
Cici Huang
e0fb5714ac Promote feature CustomResourceValidationExpressions to beta 2022-07-29 03:12:39 +00:00
Kubernetes Prow Robot
da0091ceda
Merge pull request #111496 from HecarimV/unnecessary-fmt
Remove unnecessary use of fmt.Sprintf
2022-07-28 19:35:17 -07:00
kerthcet
02f77a1b84 Feat: ga component config in kube-scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:47:48 +08:00
Kubernetes Prow Robot
f3d90aef8d
Merge pull request #111483 from jpbetz/fix-missing-root-object-type
Skip schemas that don't have CEL rules in NewValidator
2022-07-28 16:23:21 -07:00
Joe Betz
735b5a66f2 Skip schemas that are non-structural in NewValidator
Co-authored-by: Cici Huang <cicih@google.com>
2022-07-28 15:47:19 -04:00
Marcus Puckett
dcc54dec19
Fix flakiness with kubectl wait tests (#111168)
* Prepend reactor not watch reactor

This forces the object to be created first it looks like, avoiding a race condition in testing.
Use PrependReactor instead of PrependWatchReactor


Decrease test timeouts

No need to be this long
Revert use of new scheme to reuse same scheme for all tests


Allow 1 to 2 actions in stale observed generation failure


Allow range of test action lengths

Reduce test flakiness
Fix TestWaitForJSONPathCondition/handles_watch_condition_change


Set delete wait options properly


cherry pick original changes back into branch

* Revert delete timeout setting change

* Remove validateActions functions

* Remove go-spew
2022-07-28 10:21:22 -07:00
Kubernetes Prow Robot
15d12e713f
Merge pull request #111500 from cpanato/prombot
Update publishing-bot rules for go1.17.12 and go1.18.4
2022-07-28 09:07:23 -07:00
Kubernetes Prow Robot
4f74844299
Merge pull request #111460 from wojtek-t/forget_watcher
Cacher: add support for draining watchers
2022-07-28 07:33:23 -07:00
Kubernetes Prow Robot
5856e83573
Merge pull request #110007 from ardaguclu/enhancements-alpha-events
Add new flags into alpha events
2022-07-28 07:33:11 -07:00
Kubernetes Prow Robot
79a62d6235
Merge pull request #111387 from marseel/feature/retry_internal_errors
Add option to retry internal api error in reflector.
2022-07-28 06:13:10 -07:00
Arda Güçlü
63b8684cd3 Add new flags into alpha events
In order to promote kubectl alpha events to beta,
it should at least support flags which is already
supported by kubectl get events as well as new flags.

This PR adds;

--output: json|yaml support and does essential refactorings to
integrate other printing options easier in the future.

--no-headers: kubectl get events can hide headers when this flag is set for default printing.
Adds this ability to hide headers also for kubectl alpha events.
This flag has no effect when output is json or yaml for both commands.

--types: This will be used to filter certain events to be printed and
discard others(default behavior is same with --event=Normal,Warning).
2022-07-28 15:16:58 +03:00
Marcel Zięba
0b2b6489de Add option to retry internal api error in reflector. 2022-07-28 12:06:01 +00:00
Wojciech Tyczyński
a530a6898a Fix draining cacher tests 2022-07-28 11:36:01 +02:00
Lukasz Szaszkiewicz
debace151c cacher: add support for consistent streaming
design details https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/3157-watch-list#design-details
2022-07-28 11:36:01 +02:00
jupblb
3c46482eb0
Switch initial/final seats type to uint64 2022-07-28 10:48:40 +02:00
cpanato
a94b67c0a0
drop configs for v1.21 due to EOL
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-07-28 10:40:29 +02:00
cpanato
f64841e4d6
Update publishing-bot rules for go1.17.12 and go1.18.4
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-07-28 10:36:23 +02:00
HaoJie Liu
208a66847b Remove unnecessary use of fmt.Sprintf
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-28 16:02:09 +08:00
Kubernetes Prow Robot
a4a22a2562
Merge pull request #111419 from muyangren2/json_assert
Fix test order staging/src/k8s.io/component-base/logs/json/json_test.go
2022-07-28 00:29:10 -07:00
Kubernetes Prow Robot
1df7b3bed3
Merge pull request #111319 from brianpursley/kubectl-1242
Change kubectl diff to exclude managedFields by default
2022-07-27 19:27:10 -07:00
Kubernetes Prow Robot
914406da51
Merge pull request #109601 from shiftstack/dirty_service
Prevent dirty service object leaking between reconciles
2022-07-27 18:15:10 -07:00
Kubernetes Prow Robot
a2ffa21eed
Merge pull request #111451 from DangerOnTheRanger/cel-use-case-tests
Add examples of matchExpressions validation as unit tests
2022-07-27 13:20:11 -07:00
Kubernetes Prow Robot
1fe71e7f1b
Merge pull request #111255 from divyenpatel/declare-not-supported-vSphere-versions
declare unsupported vSphere versions for in-tree plugin
2022-07-27 13:20:04 -07:00
Kubernetes Prow Robot
9a73536ff2
Merge pull request #109070 from VilledeMontreal/feat/compSubresourceFlag
Add shell completion for new --subresource flag
2022-07-27 13:19:53 -07:00
Kubernetes Prow Robot
4e5711829c
Merge pull request #111228 from Abirdcfly/220716
clean unreachable code
2022-07-27 11:35:00 -07:00
Kubernetes Prow Robot
c27e82604e
Merge pull request #109217 from manugupt1/improve-mount-detection
Improved mount detection using openat2 for kernel 5.10+
2022-07-27 11:34:28 -07:00
Kubernetes Prow Robot
e092b6d27b
Merge pull request #111442 from ialidzhikov/k8s-utils@56c0de1e6f
Update `k8s.io/utils` to `9bab9ef40391`
2022-07-27 10:02:39 -07:00
Kubernetes Prow Robot
ec905a4611
Merge pull request #105919 from ravisantoshgudimetla/ps-restricted-updates
PodSecurity: OS based updates to restricted standard
2022-07-27 10:02:28 -07:00
Brian Pursley
e88470c31f Change kubectl diff to exclude managedFields by default
Changes kubectl diff to exclude managedFields by default.
Adds a new --show-managed-fields flag that allows you to
include managed fields in the diff.
2022-07-27 12:53:32 -04:00
Kubernetes Prow Robot
610b7839a0
Merge pull request #111399 from Argh4k/i-111290
Modify timeout for etcd healthcheck
2022-07-27 07:36:28 -07:00
Maciej Wyrzuc
b42045a64f Add additional etcd check to readyz with 2 seconds timeout. 2022-07-27 12:23:02 +00:00
Nic Cope
c5957c284e Use SHA256 sums to verify discovery cache integrity
This is a little more computationally expensive but reduces the
likelihood of a potentially malicious cache collision.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-27 00:13:30 -07:00
Nic Cope
288a17fd33 Use sha256 to sanitize discovery HTTP cache keys
This helps avoid (potentially malicious) collisions when reading and
writing cache data.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-27 00:13:30 -07:00