Max Smythe
003fbae25b
Fix canonical imports
...
Signed-off-by: Max Smythe <smythe@google.com >
2022-10-25 20:40:27 -07:00
Max Smythe
00ebe0bf62
Make interface for webhook predicates more specific
...
Signed-off-by: Max Smythe <smythe@google.com >
2022-10-25 17:41:14 -07:00
Max Smythe
b4ee0c0574
Move webhook scoping rules into a predicates directory
...
Signed-off-by: Max Smythe <smythe@google.com >
2022-10-25 16:28:16 -07:00
Kubernetes Prow Robot
19ab5b6910
Merge pull request #113310 from logicalhan/storage-metric
...
swap name for storage metric for underlying storage db
2022-10-25 13:10:35 -07:00
Kubernetes Prow Robot
449c46258b
Merge pull request #113325 from panslava/fix-time-since-defer
...
Fix time.Since() in defer. Wrap in anonymous function
2022-10-25 06:42:36 -07:00
Slavik Panasovets
864e41f16d
Fix time.Since() in defer. Wrap in anonymous function
...
Function arguments in defer evaluated during definition of defer, not
during execution
2022-10-25 12:38:35 +00:00
Kubernetes Prow Robot
256ade5aa4
Merge pull request #112377 from weilaaa/refactor_sets_use_generic
...
refactor sets use generic
2022-10-24 21:14:34 -07:00
Kubernetes Prow Robot
245d59273c
Merge pull request #113136 from jprzychodzen/kcm-remove-race-condition
...
NodeLifecycleController: Remove race condition
2022-10-24 15:48:34 -07:00
Kubernetes Prow Robot
c5242edd92
Merge pull request #108858 from zshihang/master
...
track legacy service account tokens
2022-10-24 12:44:23 -07:00
Jakub Przychodzeń
de25c5fdcf
NodeLifecycleController: Remove race condition
...
Patch request does not support RV by default, we need to include them explicitly and patching lists actually overwrites whole field. It means that there is a race condition, in which we can overwrite changes to taints that happened between GET and PATCH requests.
2022-10-24 19:36:58 +00:00
Han Kang
3a2d1bab26
swap name for storage metric for underlying storage db
...
Change-Id: Ic7cd9bf5ef29d9c51a728ef37c94d77172fbf678
2022-10-24 15:27:05 -04:00
Kubernetes Prow Robot
23aaf78a4a
Merge pull request #113189 from MikeSpreitzer/add-borrowing-parms
...
Introduce constants for the two parameters of seat borrowing
2022-10-24 09:44:26 -07:00
Shihang Zhang
569cd70a52
track legacy service account tokens
2022-10-24 09:37:53 -07:00
Kubernetes Prow Robot
641197dc95
Merge pull request #113256 from oscr/enable-gocritic-check
...
hack/tools enable additional linter gocritic in golangci-lint
2022-10-23 03:22:24 -07:00
Mike Spreitzer
8d826ee9f8
Introduce constants for the two parameters of seat borrowing
2022-10-22 23:52:43 -04:00
Alexander Zielenski
bfbc1f3479
fix flaky admission tests
...
would fllake .04% of the time on my machine.
In tests waiting for objects to be reconciled, would erroneously treat the "Not Found" case as an error rather than waiting a bit.
also add some more context to test errors to improve debuggability
2022-10-21 09:48:01 -07:00
Oscar Utbult
21fa8d12bb
hack/tools enable additional linter in golangci-lint
...
Enables linter gocritic with two checks enabled for a subset of the project
2022-10-21 17:58:15 +02:00
Kubernetes Prow Robot
615929ed88
Merge pull request #113133 from sxllwx/fix-issue-111985
...
Fix DeleteCollection API decode DeleteOptions fail
2022-10-20 16:09:22 -07:00
Kubernetes Prow Robot
f765d0bd37
Merge pull request #113183 from dashpole/new_trace_api
...
Add new tracing library to bridge otel and utiltrace apis
2022-10-20 12:07:07 -07:00
David Ashpole
729085287d
add new tracing library to bridge otel and utiltrace apis
2022-10-20 14:40:51 +00:00
Kubernetes Prow Robot
7423cc931f
Merge pull request #112691 from aimuz/apiextensions-apiserver-change-to-cmp
...
apiextensions-apiserver: change k8s.io/apimachinery/pkg/util/diff to github.com/google/go-cmp/cmp
2022-10-20 07:01:01 -07:00
Kubernetes Prow Robot
fc4344a748
Merge pull request #111706 from tallclair/audit-error
...
More useful audit error logs
2022-10-20 02:30:56 -07:00
weilaaa
7158e0a4ff
refactor sets use generic
2022-10-20 11:47:18 +08:00
Kubernetes Prow Robot
0a689af469
Merge pull request #112858 from alexzielenski/cel-admission-hook
...
CEL Admission Plugin
2022-10-19 17:45:15 -07:00
Kubernetes Prow Robot
a2827c4915
Merge pull request #111978 from Jefftree/aggregated-discovery-types
...
Aggregated discovery types
2022-10-19 13:57:07 -07:00
Kubernetes Prow Robot
ccb6275142
Merge pull request #113084 from dims/bump-aws-sdk-go-for-1.26
...
Pick up new AWS region by bumping aws-sdk-go for 1.26
2022-10-19 11:35:19 -07:00
Jefftree
2e01fbb59a
Add discovery types
2022-10-19 17:27:25 +00:00
Kubernetes Prow Robot
bf14677914
Merge pull request #112546 from oscr/the-the
...
grammar: replace all occurrences of "the the" with "the"
2022-10-19 10:03:02 -07:00
Kubernetes Prow Robot
3eeb7cb57f
Merge pull request #113077 from lixiaobing1/WithTransportCredentials
...
replace WithInsecure() with WithTransportCredentials()
2022-10-19 08:59:02 -07:00
Kubernetes Prow Robot
594d34872c
Merge pull request #113089 from zackzhangkai/fix-doc
...
fix typo
2022-10-19 00:37:01 -07:00
Kubernetes Prow Robot
33bc8750fb
Merge pull request #113024 from alexzielenski/explain-output-openapiv3
...
kubectl explain openapiv3 template foundations
2022-10-18 20:59:00 -07:00
scott
e7d7f4a9e5
Fix DeleteCollection API decode DeleteOptions fail
...
The reason for the issue is that the apiserver uses the Scheme in the
global variable pkg/api/legacyscheme/scheme.go, and registers the
DeleteOptions corresponding to each APIGroup in the Scheme. But
DeleteOptions in meta.k8s.io/v1 is not registered, resulting
in a notRegisteredErr.
Use metainternalversionscheme.Codecs as Serializer
2022-10-19 10:31:34 +08:00
Mohammad Zuber Khan
f86acbad68
add superuser fallback to authorizer ( #111558 )
...
* add superuser fallback to authorizer
* change the order of authorizers
* change the order of authorizers
* remove the duplicate superuser authorizer
* add integration test for superuser permissions
2022-10-18 18:57:00 -07:00
Alexander Zielenski
8b74e73e38
add cel admission controller tests
...
84% coverage
2022-10-18 18:29:06 -07:00
Alexander Zielenski
a41a536dbd
add cel admission plugin and initializer
2022-10-18 18:29:06 -07:00
Alexander Zielenski
74b103cd52
add generics tests
...
84.1% coverage
2022-10-18 18:29:06 -07:00
Alexander Zielenski
2286501e22
add cel admission controller
2022-10-18 18:29:05 -07:00
Alexander Zielenski
c52fae186a
add OWNERS
2022-10-18 18:25:58 -07:00
Kubernetes Prow Robot
7dee7c8a6f
Merge pull request #113148 from logicalhan/merge-buckets
...
move MergeBuckets into component-base so we can properly support it for static-analysis
2022-10-18 16:27:19 -07:00
Kubernetes Prow Robot
859ada198f
Merge pull request #112979 from dashpole/fix_tracing_crash
...
Fix bug in which APIServerTracing did not work with some egress selectors
2022-10-18 15:07:12 -07:00
Kubernetes Prow Robot
deee0cb74b
Merge pull request #112972 from andyzhangx/fsck-error-msg
...
print error message when fsck failed
2022-10-18 15:07:01 -07:00
Kubernetes Prow Robot
48dbfffaf6
Merge pull request #113111 from liggitt/selinux-msg
...
Fix SELinux PodSecurity message when only user or role are set
2022-10-18 14:01:12 -07:00
David Ashpole
00bcd6cf01
Fix bug in which APIServerTracing did not work with some egress selectors
2022-10-18 19:41:07 +00:00
Kubernetes Prow Robot
0be68925f5
Merge pull request #108959 from astraw99/fix-duplicate-list
...
Fix duplicate code block of `ListAll` function
2022-10-18 12:35:12 -07:00
Kubernetes Prow Robot
1ab1b0af6e
Merge pull request #113118 from enj/enj/i/prefix_transformers_alloc
...
prefixTransformers: allocate after transformation length is known
2022-10-18 11:29:38 -07:00
Han Kang
287738c125
move MergeBuckets into component-base so we can properly support it for static-analysis
...
Change-Id: I137413b5b0328487a7bcd70eca79a8b0ae6dea51
2022-10-18 10:55:09 -07:00
Kubernetes Prow Robot
72ede5b5df
Merge pull request #113126 from alexzielenski/remove-unwanted-replace
...
remove errant replace from code-generator/examples/go.mod
2022-10-18 09:17:54 -07:00
Kubernetes Prow Robot
715e975afb
Merge pull request #113120 from enj/enj/i/value_owners
...
k8s.io/apiserver/pkg/storage/value: allow encryption-at-rest approval
2022-10-18 09:17:43 -07:00
Kubernetes Prow Robot
7c6821978d
Merge pull request #113107 from dims/bump-apiserver-healthz-upper-log-verbosity
...
Bump log level for health check warning for missing components
2022-10-18 09:17:31 -07:00
Kubernetes Prow Robot
21049c2a12
Merge pull request #112966 from LJTian/master
...
Update GO address link
2022-10-18 04:45:20 -07:00