Commit Graph

95636 Commits

Author SHA1 Message Date
Rob Franken
3999f7ffbb Implement log sanitization
Implement a LogFilter using the datapol library to prevent accidental
logging of secrets and other confidential data.
2020-11-09 12:59:35 +01:00
Dr. Stefan Schimanski
f63b6772ca Update bazel 2020-11-09 10:26:39 +01:00
Gautier Delorme
f59a6c7810 apiextensions: adapt error tests to fixed validation messages
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2020-11-09 10:26:39 +01:00
Dr. Stefan Schimanski
69b0699610 apiextensions: switch validation to kube-openapi 2020-11-09 10:26:38 +01:00
Dr. Stefan Schimanski
dd1709ba46 bump(k8s.io/kube-openapi) 2020-11-09 10:26:38 +01:00
Kubernetes Prow Robot
ef16faf409 Merge pull request #92312 from Sh4d1/kep_1860
Make Kubernetes aware of the LoadBalancer behaviour
2020-11-08 23:34:24 -08:00
Kubernetes Prow Robot
2343b8a68b Merge pull request #95872 from 22dm/kube-proxy-comment-fix
Fix the kube-proxy document
2020-11-08 19:23:37 -08:00
Haowei Cai
1c2d446648 require APIServerIdentity to be enabled to run StorageVersionAPI
without APIServerIdentity enabled, stale apiserver leases won't be GC'ed
and the same for stale storage version entries. In that case the storage
migrator won't operate correctly without manual intervention.
2020-11-08 19:06:30 -08:00
Haowei Cai
7bcd25907a apiserver correctly validates encoding/decodable versions 2020-11-08 18:53:40 -08:00
Haowei Cai
23ef9b51a8 updater correctly updates storageversion status 2020-11-08 18:53:40 -08:00
Haowei Cai
8a1d8f7fd5 return a Status formatted JSON response 2020-11-08 18:53:40 -08:00
Haowei Cai
b5b93004b5 generated 2020-11-08 18:53:40 -08:00
Chao Xu
fa1805cc5c Add an integration test.
To make sure that the storage version filter can block certain requests until
the storage version updates are completed, and that the apiserver works
properly after the storage version updates are done.
2020-11-08 18:53:40 -08:00
Chao Xu
22452917c2 make some rbac and scheduling post start hooks tolerate the apiserver
bootstrap delay caused by installing storage versions.
2020-11-08 18:53:40 -08:00
Chao Xu
7218978716 Add a generic filter that blocks certain write requests before
StorageVersions are updated during apiserver bootstrap.

Also add a poststarthook to the aggregator which updates the
StorageVersions via the storageversion.Manager
2020-11-08 18:53:40 -08:00
Kubernetes Prow Robot
f43007543c Merge pull request #96326 from Huang-Wei/cleanup-sched-perf
Update docs and fix redundant logic of scheduler perf
2020-11-08 18:35:37 -08:00
Chao Xu
3694756816 Collect storage versions as ResourceInfo when installing API endpoints.
Co-authored-by: Haowei Cai <haoweic@google.com>
2020-11-08 18:34:59 -08:00
Chao Xu
56369375e0 Add a feature gate 2020-11-08 18:34:59 -08:00
Kubernetes Prow Robot
ce036e0800 Merge pull request #96340 from andyzhangx/patch-1
add andyzhangx as reviewer
2020-11-08 03:47:37 -08:00
Andy Zhang
9056e3a86a add andyzhangx as reviewer 2020-11-08 16:55:03 +08:00
Kubernetes Prow Robot
2570a9d94c Merge pull request #96306 from SataQiu/small-fix-20201106
kubeadm: fix the lint failure where return value is not checked
2020-11-07 11:43:37 -08:00
Patrik Cyvoct
dd5646d56d fix ingress comparaison
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 11:46:42 +01:00
Kubernetes Prow Robot
0e42122270 Merge pull request #96308 from andyzhangx/update-max-azuredisk-count
update max azure data disk count map
2020-11-07 02:33:38 -08:00
Patrik Cyvoct
20fc86df25 fix defaulting
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:59 +01:00
Patrik Cyvoct
0768b45e7b add nil case in proxy
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:58 +01:00
Patrik Cyvoct
fea88f44a7 fix build
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:57 +01:00
Patrik Cyvoct
40dcef27c4 fix nit in validation
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:56 +01:00
Patrik Cyvoct
11b97e9ef8 fix tests
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:55 +01:00
Patrik Cyvoct
1fd08bc92e Update generated
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:54 +01:00
Patrik Cyvoct
540901779c fix reviews
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:53 +01:00
Patrik Cyvoct
af7494e896 Update generated
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:52 +01:00
Patrik Cyvoct
7bdf2af648 fix review
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:51 +01:00
Patrik Cyvoct
88330eafef fix typo
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:50 +01:00
Patrik Cyvoct
7977e0ac44 add owner for feature gate
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:48 +01:00
Patrik Cyvoct
7460f9e00b fix rebase
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:30 +01:00
Patrik Cyvoct
0153b96ab8 fix review
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:27 +01:00
Patrik Cyvoct
d562b6924a Add tests
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 09:59:59 +01:00
Patrik Cyvoct
47ae7cbf52 Add route type field to loadbalancer status ingress
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 09:59:58 +01:00
Wei Huang
267acdbe81 Update docs and fix redundant logic of scheduler perf 2020-11-06 23:45:09 -08:00
Kubernetes Prow Robot
9253aa9309 Merge pull request #95423 from apelisse/default-null-crds
CRs: Default non-nullable nulls
2020-11-06 20:51:36 -08:00
Kubernetes Prow Robot
4949078001 Merge pull request #93459 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test
Updated Create Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-11-06 19:53:36 -08:00
Kubernetes Prow Robot
9843ff244d Merge pull request #96324 from SergeyKanzhelev/patch-1
Change the features removal note
2020-11-06 19:03:37 -08:00
liuhongyu
d38ff93e4b remove kube-proxy/config/v1alpha1 from .golint_failures 2020-11-07 11:02:16 +08:00
Kubernetes Prow Robot
151c2799d1 Merge pull request #96279 from cmluciano/cml/netutilsipv4
dualstack: cleanup IsIPv4 duplicates in favor of k8s/utils functions
2020-11-06 18:09:50 -08:00
Kubernetes Prow Robot
281866b35c Merge pull request #95533 from roycaihw/apiserver-lease-controller
Add kube-apiserver lease controller
2020-11-06 18:09:37 -08:00
Kubernetes Prow Robot
48a0ef6a39 Merge pull request #96312 from kishorj/nlb-hc-cleanup
Less restrictions for AWS NLB health check config
2020-11-06 16:11:50 -08:00
Kubernetes Prow Robot
d2a85502df Merge pull request #95247 from kishorj/nlb_attributes
reconcile AWS NLB attributes on service creation
2020-11-06 16:11:37 -08:00
Marcio Caroso
4b8b9c92bf Fix go lint on folder apimachinery/pkg/runtime/serializer/json 2020-11-06 20:45:27 -03:00
Sergey Kanzhelev
d049e9e4d3 Change the features removal note 2020-11-06 15:27:47 -08:00
Kubernetes Prow Robot
48a2bca893 Merge pull request #96251 from ravens/nodeport_udp_conntrack_fix
Correctly fix clearing conntrack entry on endpoint changes (nodeport)
2020-11-06 14:25:37 -08:00