Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
danielqsj
5bc0e26c19
unify alias of api errors under pkg and staging
2019-12-26 16:42:28 +08:00
Jordan Liggitt
6a1354252d
Add unit test for extended ipv4 service IP range
2019-12-22 22:32:42 -05:00
Jordan Liggitt
df4f5c1a30
Revert "remove ipallocator in favor of k/utils net package"
...
This reverts commit f984b4c7a2
.
2019-12-22 22:31:25 -05:00
Jordan Liggitt
bb90f0ff94
Install APIs directly for tests
2019-12-13 11:56:29 -05:00
Jordan Liggitt
36eb250cbb
Switch TableGenerator/TableConvertor interfaces to metav1
2019-11-26 13:18:18 -05:00
Roc Chan
c9cf3f5b72
Service Topology implementation
...
* Implement Service Topology for ipvs and iptables proxier
* Add test files
* API validation
2019-11-15 13:36:43 +08:00
chiehting
193f38beae
Fix golint issues in pkg/registry/core/service/storage
2019-11-10 15:34:51 +08:00
Kubernetes Prow Robot
9fa1bc8003
Merge pull request #83422 from yastij/remove-ipallocator
...
remove ipallocator in favor of k/utils net package
2019-10-22 12:52:13 -07:00
Yassine TIJANI
f984b4c7a2
remove ipallocator in favor of k/utils net package
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-10-22 18:37:13 +02:00
Ted Yu
0779296bf3
Check error return from snapshot Restore
2019-10-13 10:08:20 -07:00
Khaled Henidak(Kal)
c27e0b029d
phase 2: generated items
2019-08-28 16:11:46 +00:00
Khaled Henidak(Kal)
93c06821e6
Phase 2: service and endpoint processing
2019-08-28 15:59:43 +00:00
Khaled Henidak(Kal)
5e8ccda71c
phase 2: api types + defaulting + validation + disabled fields handling
2019-08-28 15:59:43 +00:00
Tim Hockin
ec60426793
Add dropDisbledFields() to service
2019-08-22 21:36:39 -07:00
Kubernetes Prow Robot
b581f97009
Merge pull request #81325 from tedyu/etcd-ret-err
...
Propagate error from NewEtcd
2019-08-16 10:26:09 -07:00
Ted Yu
2374f9ad7c
Propagate error from NewEtcd
2019-08-14 16:46:23 -07:00
Ted Yu
87b2a3129b
Propagate error from NewREST
2019-08-12 13:55:35 -07:00
wojtekt
ee13be2884
Propagate error from creating cacher and storage decorators up
2019-07-15 20:48:30 +02:00
Khaled Henidak(Kal)
54d42e6a65
types modifications + conversion + conversion testing
2019-07-02 15:39:05 +00:00
wojtekt
a756e20cb5
Update autogenerated files
2019-07-01 15:02:49 +02:00
wojtekt
7497260e54
Move etcd/testing to etcd3/testing
2019-07-01 15:02:49 +02:00
Chao Xu
7bb4a3bace
Run deleteValidation at the storage layer so that it will be retried on
...
conflict.
Adding unit test verify that deleteValidation is retried.
adding e2e test verifying the webhook can intercept configmap and custom
resource deletion, and the existing object is sent via the
admissionreview.OldObject.
update the admission integration test to verify that the existing object
is passed to the deletion admission webhook as oldObject, in case of an
immediate deletion and in case of an update-on-delete.
2019-05-17 09:54:11 -07:00
yue9944882
34c4a6e057
Cherrypicking #66535
...
validate deletion admission object
backward compatibility: add validation for direct storage delete calls
apply nil validation to existing tests
revert behavior changes in deleteCollection call
fixes validation on wiring graceful deletion
remove nil validation check
continue admission check on not found error
2019-05-17 09:50:16 -07:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Sean Sullivan
abfc5bbbf7
Rename TablePrinter interface to TableGenerator
2019-04-16 12:55:30 -07:00
Chao Xu
3b618af0d4
Expose storage version hash
2019-03-11 10:26:56 -07:00
Lubomir I. Ivanov
e29c6e1b38
go-1.12: fix 'go vet' failures
2019-03-01 18:48:17 +02:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
Jennifer Buckley
1a5e48e29d
Honor forceAllowCreate in service registry
2019-02-11 11:05:30 -08:00
Jordan Liggitt
4271384966
Call conditional validation from create/update strategies
2019-02-05 23:09:31 -05:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
zuoxiu.jm
9c33a913de
use loopback client connection instead of direct etcd call in master lease
2018-11-01 12:22:09 +08:00
Jordan Liggitt
e309bd3abf
Remove deprecated feature flags
2018-08-28 15:25:46 -04:00
Kubernetes Submit Queue
3da79f5cab
Merge pull request #67038 from jennybuckley/dry-run-services
...
Automatic merge from submit-queue (batch tested with PRs 67323, 66717, 67038). 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>.
Prevent side effects on dryrun in service registry
```release-note
NONE
```
2018-08-27 16:27:06 -07:00
jennybuckley
c0bf542796
Prevent side effects on dryrun in service registry
2018-08-22 16:57:44 -07:00
Chao Xu
64bd0e4589
Fix scope.Kind of CONNECT subresources.
...
Make scope.Kind of pod/attach, pod/exec, pod/portforward, node/proxy,
service/proxy to their respective subresource Kind, instead of the
parent Kind. The kind is used by the admission webhook controller to
determine how to convert the object.
2018-08-06 18:59:52 -07:00
Antoine Pelisse
68937c4934
dry-run: Use dry-runnable structure
2018-08-03 14:30:50 -07:00
Jordan Liggitt
652e2dc025
generated
2018-07-13 11:41:09 -04:00
Jordan Liggitt
617078d220
Remove hand-written typed registries
2018-07-13 11:40:52 -04:00
Antoine Pelisse
03b1e14101
dry-run: Create new options for Update/Create and pass it along
2018-07-12 07:18:37 -07:00
jennybuckley
c60fe4fb76
Propagate forceAllowCreate as false to all subresources
2018-06-29 11:28:19 -07:00
jennybuckley
d10e08fc89
Allow override AllowCreateOnUpdate with new argument to Update
2018-06-28 14:24:51 -07:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Nick Sardo
c05e89d0e5
Fix nodeport repair for ESIPP services
2018-05-25 16:09:16 -07:00
Kubernetes Submit Queue
4e3efbe364
Merge pull request #61455 from liggitt/uid-conflict
...
Automatic merge from submit-queue. 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>.
Deprecate repair-malformed-updates flag, move object meta mutation into BeforeCreate
closes #23297
```release-note
NONE
```
2018-05-03 13:41:07 -07:00
David Eads
8ae62517da
remove rootscopedkinds from groupmeta
2018-05-01 13:08:23 -04:00
Jordan Liggitt
7f840f4441
Deprecate repair-malformed-updates flag, move object meta mutation into BeforeCreate
2018-04-27 17:26:39 -04:00
Mike Danese
54fd2aaefd
replace request.Context with context.Context
2018-04-24 08:59:00 -07:00
hzxuzhonghu
70e45eccf2
Replace "golang.org/x/net/context" with "context"
2018-03-22 20:57:14 +08:00