Commit Graph

1907 Commits (bc8bafd825816844b1a93af98b22b86a3f32a65e)

Author SHA1 Message Date
Jordan Liggitt 69042da958 Add integration tests covering admission webhooks 2019-04-20 03:33:36 -04:00
Jordan Liggitt 3bbd9b2c55 tag test/integration/apimachinery as integration test 2019-04-20 02:20:31 -04:00
Jordan Liggitt aee1997a19 quiet integration test logs 2019-04-20 02:20:31 -04:00
Davanum Srinivas 7b8c9acc09
remove unused code
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
caiweidong 4c12c76a90 clean up unused code 2019-04-10 19:12:40 +08:00
yue9944882 8f601d3413 prune internal client references from test/* 2019-04-09 21:43:55 +08:00
Kubernetes Prow Robot 150a501750
Merge pull request #73557 from bsalamat/use_priority_ga
Update usages of PriorityClass to V1
2019-04-06 09:36:27 -07:00
Kubernetes Prow Robot 2c013fa1a8
Merge pull request #75129 from xing-yang/informer
Move CSIDriver Lister to the controller
2019-04-05 18:06:27 -07:00
Bobby (Babak) Salamat 16a7cbd320 generated files 2019-04-05 14:30:52 -07:00
Bobby (Babak) Salamat 8574e3e3f4 Use Scheduling V1 API instead of Scheduling v1beta1 2019-04-05 14:21:45 -07:00
Xing Yang 000ab86788 Move CSIDriver Lister to the controller 2019-04-05 12:20:11 -07:00
Lubomir I. Ivanov 76906dd738 test: partially decouple from cmd/kubeadm
The test package imports cmd/kubeadm, which is far from ideal.
There are a couple of reasons for the import:
1) Marshaling of Ingress from api/extensions/v1beta1.

To fix that include a local function in e2e/manifest/manifest.go
that does that same as the kubeadm MarshalToYaml.

2) Using PKI helper function in apimachinery and auth tests.

To fix that include a new file under test/utils/pki_helpers.go
that only contains the required helpers instead of including the whole
kubeadm pkiutil package.

There is another related problem:
e2e_node/e2e_node_suite_test.go includes:
k8s.io/kubernetes/cmd/kubeadm/app/util/system

But this has to be done in a follow up.
2019-04-04 15:41:28 +03:00
Kubernetes Prow Robot c79fbabf23
Merge pull request #75389 from jpbetz/pagination-v1
Paginate watch cache->etcd List calls & reflector init/resync List calls not served by watch cache
2019-04-03 11:14:25 -07:00
Joe Betz e5a4f09ab3 Add resourceVersion=0 paginated list integration test for disabled and enabled watch cache 2019-04-02 13:06:15 -07:00
Michelle Au d2aa8178f2 Remove alpha CRD install 2019-04-02 10:59:11 -07:00
wojtekt d5c9ad8049 Expose etcd client latency metrics 2019-04-01 20:46:18 +02:00
danielqsj 49c4c6f76f add yaml test cases for scheduler creation 2019-03-29 11:29:09 +08:00
Kubernetes Prow Robot 743fddd174
Merge pull request #75605 from smarterclayton/check_crd_proto
Check CRD protobuf negotiation in integration tests
2019-03-26 21:58:47 -07:00
Kubernetes Prow Robot d24fe8a801
Merge pull request #75735 from andrewsykim/update-install-etcd-link
fix link to etcd install docs for integration tests
2019-03-26 18:11:29 -07:00
Kubernetes Prow Robot 2086f81546
Merge pull request #74678 from pmcalpine/lint-bs_cj
Fix some golint failures for pkg/controller
2019-03-26 15:10:16 -07:00
Kubernetes Prow Robot 531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
Andrew Sy Kim e26157df07 fix link to etcd install docs 2019-03-26 13:40:18 -04:00
WanLinghao 244b244f9d Migrate the controller to use TokenRequest and rotate token periodically 2019-03-25 14:54:22 +08:00
Kubernetes Prow Robot 290cf142e1
Merge pull request #75302 from liggitt/apps-v1-test
Use apps/v1 APIs in integration tests
2019-03-22 14:09:49 -07:00
Clayton Coleman 6825daa91a
Check CRD protobuf negotiation in integration tests
Add a few more tests to verify CRDs don't regress as client changes
are made.
2019-03-22 13:14:46 -04:00
shinytang6 5c9f4d9dc6 replace time.Now().Sub with time.Since 2019-03-21 18:02:55 +08:00
Kubernetes Prow Robot 8142ab5904
Merge pull request #75466 from denkensk/import-defaultprovider
import DefaultProvider in BenchmarkScheduling util
2019-03-20 13:31:38 -07:00
Kubernetes Prow Robot 6f9bf5fe98
Merge pull request #71548 from smarterclayton/watch_converted
Support Table and PartialObjectMetadata on watch
2019-03-19 22:42:22 -07:00
Peter McAlpine ac88e13821 Fix lint warnings in pkg/controller/cronjob. 2019-03-19 14:36:26 -04:00
wangqingcan e2af183d3e import DefaultProvider 2019-03-19 16:21:34 +08:00
Jordan Liggitt f2a0c0342c Revert "Revert kubelet to default to ttl cache secret/configmap behavior"
This reverts commit cd1c9f9018.
2019-03-13 15:12:26 -07:00
Jordan Liggitt 9cd57a5a18 Add kubelet watch manager integration test 2019-03-13 15:12:26 -07:00
Kubernetes Prow Robot 8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Jordan Liggitt 0aaf1ca4ff Use apps/v1 APIs in integration tests 2019-03-12 13:17:18 -07:00
jennybuckley 10259c959e Fix int/float apply bug 2019-03-11 23:07:21 -07:00
jennybuckley 2fdc7e1f35 add test to verify fix 2019-03-08 22:35:33 -08:00
Antoine Pelisse eb904d8fa8 Add "fieldManager" to flag to PATCH/CREATE/UPDATE
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".

The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Clayton Coleman 3230a0b4fd
Support Table and PartialObjectMetadata on watch
Clean up the code paths that lead to objects being transformed and output with negotiation.
Remove some duplicate code that was not consistent. Now, watch will respond correctly to
Table and PartialObjectMetadata requests. Add unit and integration tests.

When transforming responses to Tables, only the first watch event for a given type will
include the columns. Columns will not change unless the watch is restarted.

Add a volume attachment printer and tighten up table validation error cases.

Disable protobuf from table conversion because Tables don't have protobuf because they
use `interface{}`
2019-03-08 13:03:59 -05:00
Kubernetes Prow Robot af62ad0ca7
Merge pull request #75141 from liggitt/deflake-max_json_patch_operations_test
Ensure namespaces exist on start
2019-03-08 00:53:48 -08:00
Bin Lu 973a3c7233 Add bazel-test-integration for Arm64
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-08 14:01:15 +08:00
Kubernetes Prow Robot 183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
David Zhu 7d2f4e97b8 Add ADC Fallback if Node doesn't have driver installed 2019-03-07 14:47:38 -08:00
Jordan Liggitt 8f47501418 Ensure namespaces exist on start 2019-03-07 15:09:46 -05:00
Tim Allclair 820a1dc96b Add node.k8s.io/v1beta1 API 2019-03-07 11:57:12 -08:00
Kubernetes Prow Robot 0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Haowei Cai 54b99413b2 generated 2019-03-06 20:36:40 -08:00
Haowei Cai 867cdce212 apiextensions: add openapi publishing unit+integration+e2e tests
Co-authored-by: Maciej Szulik <maszulik@redhat.com>
Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-03-06 20:36:23 -08:00
Michelle Au 08330c37ca lock csi and plugin watcher GA feature gates 2019-03-05 09:59:05 -08:00
Kubernetes Prow Robot 6c31101257
Merge pull request #74283 from xing-yang/csi_crd_controller
CSINodeInfo and CSIDriver Controller Changes
2019-03-05 04:44:42 -08:00
Xing Yang d69e0ff3f0 Enable CSI test suite and fix test failures 2019-03-04 16:42:13 -08:00