Jordan Liggitt
61774cd717
Plumb context to admission Admit/Validate
2019-08-20 11:11:00 -04:00
Jianfei Bai
07077a8aa5
Replace self defined const StatusTooManyRequests with http.StatusTooManyRequests.
2019-08-12 20:52:12 +08:00
Miguel Bernabeu
f47da8a75d
Fix golint violations in several plugins
2019-05-23 20:00:06 +02:00
Joe Betz
900d652a9a
Update tests for: Pass {Operation}Option to Webhooks
2019-05-14 10:49:43 -07:00
SataQiu
f8c4aba0cb
fix some golint failures for plugin/pkg/admission/...
2019-02-26 17:12:40 +08:00
Kubernetes Prow Robot
0ffd59e403
Merge pull request #74154 from mbohlool/gimli
...
Use Request Object interfaces instead of static scheme that is more appropriate for CRDs
2019-02-19 07:21:53 -08:00
Mehdy Bohlool
d08bc3774d
Mechanical changes due to signature change for Admit and Validate functions
2019-02-16 13:28:47 -08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Justin SB
dd19b923b7
Remove executable file permission from OWNERS files
2019-01-11 16:42:59 -08:00
Jingyi Hu
61117761cd
*: Remove comment tags in GoDoc
...
Adding blank line between comment tag and package name in doc.go. So
that the comment tags such as '+k8s:deepcopy-gen=package' do not show up
in GoDoc.
2018-09-13 20:27:32 -07:00
jennybuckley
adafb1365e
Support dry run in admission plugins
2018-08-06 10:37:44 -07:00
Kubernetes Submit Queue
f5772e3d75
Merge pull request #62901 from hzxuzhonghu/eventratelimit-aggregate-errors
...
Automatic merge from submit-queue (batch tested with PRs 62901, 66562, 66938, 66927, 66926). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Eventratelimit aggregates all reject errors
Previously, Eventratelimit validates event by each limiter but only returns the last reject error. Which is not accurate, so here I aggregate each error.
**Release note**:
```release-note
NONE
```
2018-08-02 19:57:10 -07:00
Clayton Coleman
ef561ba8b5
generated: Avoid use of reflect.Call in conversion code paths
2018-07-17 23:02:16 -04:00
hzxuzhonghu
6197ab23d1
EventRateLimit should aggregate reject errors
2018-06-29 14:30:22 +08:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
David Eads
c5445d3c56
simplify api registration
2018-05-08 18:33:50 -04:00
David Eads
7b4f97aca3
generated
2018-05-08 18:32:44 -04:00
David Eads
a68c57155e
remove KUBE_API_VERSIONS
2018-04-26 08:27:49 -04:00
David Eads
e931158128
generated
2018-04-25 09:02:32 -04:00
David Eads
e7fbbe0e3c
eliminate indirection from type registration
2018-04-25 09:02:31 -04:00
fisherxu
b49ef6531c
regenerated all files and remove all YEAR fields
2018-03-08 17:52:48 +08:00
jennybuckley
c8dacd8e63
Run hack/update-all.sh
2018-02-26 17:16:14 -08:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
hzxuzhonghu
7c5f9e0bba
refactor admission flag: add two admission flags and make plugins auto in recommended order
2018-01-19 13:16:36 +08:00
Dr. Stefan Schimanski
1a552bbe14
admission: do not leak admission config types outside of the plugins
2018-01-15 14:37:41 +01:00
Allen Petersen
3d69cea1e5
Update generated files
2018-01-02 22:13:19 -08:00
Christoph Blecker
80e344644e
Regenerate all generated code
2018-01-02 00:21:07 -08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
David Eads
5e966af1d0
add eventratelimit config to scheme
2017-12-21 08:09:55 -05:00
Dr. Stefan Schimanski
1e79dfb959
Update generated code
2017-11-10 18:26:46 +01:00
Dr. Stefan Schimanski
72809a08b9
deepcopy: remove deepcopy register tags
2017-11-10 18:25:26 +01:00
Dr. Stefan Schimanski
bec617f3cc
Update generated files
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
David Eads
75c448dbc7
make easy validation admission plugins into validators
2017-11-03 07:54:39 -04:00
Dr. Stefan Schimanski
131905cdb8
admission: unify plugin constructors
2017-10-30 16:56:38 +01:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Jeff Grafton
02fb4200dc
Use buildozer to delete licenses() rules
2017-09-21 15:53:22 -07:00
Jeff Grafton
532bd482df
Use buildozer to remove deprecated automanaged tags
2017-09-21 15:53:22 -07:00
staebler
a4542ae528
Create an EventRateLimit admission control plug-in for the API Server.
...
The EventRateLimit plug-in limits the number of events that the API Server
will accept in a given time period. It allows for server-wide, per-namespace,
per-user,and per-source+object rate limiting.
2017-09-01 13:38:03 -04:00