Commit Graph

146 Commits (8045a99a701fcba612eab9168963113ebcfd3bf9)

Author SHA1 Message Date
Kubernetes Prow Robot d7db904ef8
Merge pull request #76192 from wongma7/hostpath-provisioner
Update csi-hostpath-provisioner to v1.1.0-rc2
2019-04-05 13:13:58 -07:00
Matthew Wong c802f81045 Update to latest csi/external-provisioner rbac 2019-04-05 11:09:25 -04:00
Matthew Wong 5d9330aa75 Update csi-hostpath-provisioner to v1.1.0-rc2 2019-04-05 07:38:43 -04:00
Kubernetes Prow Robot ca1e47065b
Merge pull request #76163 from msau42/csi-beta-e2e
Use official images in pd driver e2es
2019-04-05 01:17:20 -07:00
Michelle Au 2379c9896a Enable topology in pd driver e2es 2019-04-04 11:54:54 -07:00
Andrew Sy Kim 11042e015e external-resizer in e2e tests should have access to leases
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-03 12:16:42 -04:00
Kubernetes Prow Robot 118e33dfcd
Merge pull request #72092 from vllry/move-gce-test-manifests
Move e2e ingress test manifests for GCE to a subdirectory
2019-03-13 10:39:35 -07:00
Hemant Kumar a8f318779b Add CSI volume resizing tests
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
Kubernetes Prow Robot 2b354f3857
Merge pull request #73383 from danielqsj/zkr
bump zookeeper-installer image version in e2e
2019-03-07 16:12:09 -08:00
Ben Swartzlander 1493e684d3 Promote CSI raw blocks to beta 2019-03-06 13:43:52 -05:00
Michelle Au afbc8a5056 e2e test updates for beta 2019-03-05 20:24:59 -08:00
Vallery Lancey 3de7307a8c
Merge branch 'master' into move-gce-test-manifests 2019-03-01 10:29:32 -08:00
Kubernetes Prow Robot 7dbe426b24
Merge pull request #74320 from gnufied/cleanup-csi-test-dups
Add e2e for CSI volume limit
2019-02-27 12:31:12 -08:00
Hemant Kumar 2516cbd453 Add e2e for CSI volume limit stuff
Also use privileged for driver registra
2019-02-26 13:04:54 -05:00
Xiang Dai 36065c6dd7 delete all duplicate empty blanks
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Jose A. Rivera 6115fc49a6 Use cluster-driver-registrar for CSIDriverRegistry tests
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00
Kubernetes Prow Robot 8f7ccf8d4c
Merge pull request #69036 from wackxu/snapshottest
add e2e test for snapshot
2019-02-08 13:14:04 -08:00
Roy Lenferink b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
xushiwei 7280fcef5c address reviewer comments 2019-02-01 16:34:16 +08:00
xushiwei 3410d435ed add snapshot e2e 2019-01-30 19:04:45 +08:00
danielqsj 44eb1fb864 bump zookeeper-installer image version in e2e 2019-01-28 09:56:17 +08:00
Cheng Xing 12ece9dacb CSI topology e2e tests 2019-01-11 18:36:06 -08:00
Jan Safranek d617dcb1e0 CSI: Add test for passing Pod information in NodePublish call 2019-01-02 16:11:41 +01:00
Patrick Ohly 5349ce75fa e2e/storage: remove code duplication
The setup of the V0 hostpath driver was done with copy-and-paste and
then changing just the driver name and the manifests. The same can be
achieved by making the base struct a bit more configurable, which
simplifies future changes (less code).

Renaming the provisioner container was unnecessary and was reverted to
make it possible to use the same patch configuration.

While at it, also fix the InitHostV0PathCSIDriver typo.
2018-12-20 13:41:48 +01:00
Kubernetes Prow Robot 1bd7c7126c
Merge pull request #70370 from liggitt/to_apps_v1
Switch client and test usage to apps/v1
2018-12-19 14:13:28 -08:00
Kubernetes Prow Robot ac6fa2235b
Merge pull request #71742 from pohly/csi-sidecar-test
e2e: use quay.io/k8scsi images, bump versions
2018-12-19 11:58:37 -08:00
Jordan Liggitt b409ffa658 Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
Michelle Au b6e64936fe Add owners file for storage e2e manifests 2018-12-18 15:15:47 -08:00
Vallery Lancey 3d81b0b2c8 Moved GCE-specific ingress test yaml to a ./gce directory. (#58640) 2018-12-16 12:12:29 -08:00
Patrick Ohly 6ca66d7047 e2e: use quay.io/k8scsi images, bump versions
Commit 503f654d7a, "Update CSI tests to
point to 1.0.0 external bits", changed to images published on gcr.io,
perhaps because the images on quay.io weren't ready yet. We now have
up-to-date images on quay.io and should be using those.
2018-12-12 14:49:23 +01:00
Hemant Kumar 1570f39d9e We do not pass device path to unmount device
Also rename attachable-with-long-format file
2018-12-03 17:31:01 -05:00
Michelle Au b02cada150
Revert "CSI: enhance driver tests to update the drivers." 2018-11-28 17:10:13 -08:00
Jan Safranek 8fb3e9fe2a Make HostPath CSI driver persistent across restart.
The driver dynamically provisions its volumes in /tmp. To preserve the data
across driver restarts, the directory must be mapped to more persistent
place, /tmp on the host seems to be the safest choice.
2018-11-27 13:53:48 +01:00
k8s-ci-robot 205eaee0e5
Merge pull request #71145 from gnufied/test-mounted-detach
Fix volume detach while mount in progress
2018-11-22 23:27:48 -08:00
saad-ali aa8244beb5 Modify CSI to handle both 0.3 and 1.0
Modify the CSI volume plugin to handle CSI version 0.x as well as 1.x
2018-11-21 18:37:31 -08:00
Hemant Kumar d2b6e30143 Fix bug with volume getting marked as not in-use with pending op
Add test for verifying volume detach
2018-11-20 11:58:47 -05:00
Renaud Gaubert 1a3fbf1f13 Update e2e tests to include CSI 2018-11-17 01:52:57 +01:00
David Zhu 5c0948c9f1 Simplify GCE PD CSI Socket path 2018-11-16 12:00:27 -08:00
saad-ali 503f654d7a Update CSI tests to point to 1.0.0 external bits. 2018-11-15 20:01:50 -08:00
k8s-ci-robot e05659cf8e
Merge pull request #70710 from msau42/remove-subpath-ro-test
Remove subpath ro test
2018-11-06 20:21:44 -08:00
Michelle Au c13eb07cdf Fix csi rbac in e2e manifests 2018-11-06 10:35:46 -08:00
k8s-ci-robot 247b8fffb7
Merge pull request #70597 from msau42/update-pd-csi
Update pd csi e2e yamls with latest driver
2018-11-02 18:02:17 -07:00
k8s-ci-robot 408973d88e
Merge pull request #70582 from pohly/csi-driver-registrar-rbac
e2e: remove "nodes" permission from driver-registrar RBAC
2018-11-02 18:01:58 -07:00
Michelle Au 45ee18a1f1 Update pd csi e2e yamls with latest driver 2018-11-02 13:35:39 -07:00
k8s-ci-robot 6813ebb568
Merge pull request #67851 from aniket-s-kulkarni/flexvolume-resize-implementation
Flexvolume resize implementation
2018-11-02 10:47:01 -07:00
Patrick Ohly 7ba52472b7 e2e: remove "nodes" permission from driver-registrar RBAC
In the review of
https://github.com/kubernetes-csi/driver-registrar/pull/69 it was
pointed out that the "nodes" permissions are not longer needed.
2018-11-02 12:29:16 +01:00
Patrick Ohly a56c518292 e2e CSI: bump all containers to v0.4.1 2018-10-27 00:39:44 +02:00
Patrick Ohly 38efff564c e2e: deploy from manifest files + enhance CSI volume output
Ensuring that CSI drivers get deployed for testing exactly as intended
was problematic because the original .yaml files had to be converted
into code. e2e/manifest helped a bit, but not enough:
- could not load all entities
- didn't handle loading .yaml files with multiple entities
- actually creating and deleting entities still had to be done in tests

The new framework utility code handles all of that, including the
tricky cleanup operation that tests got wrong (AfterEach does not get
called after test failures!).

In addition, it is ensuring that each test gets its own instance of the
entities.

The PSP role binding for hostpath is now necessary because we switch
from creating a pod directly to creation via the StatefulSet
controller, which runs with less privileges.

Without this, the hostpath test runs into these errors in the
kubernetes-e2e-gce job:

Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-attacher: {statefulset-controller } FailedCreate: create Pod csi-hostpath-attacher-0 in StatefulSet csi-hostpath-attacher failed error: pods "csi-hostpath-attacher-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-provisioner: {statefulset-controller } FailedCreate: create Pod csi-hostpath-provisioner-0 in StatefulSet csi-hostpath-provisioner failed error: pods "csi-hostpath-provisioner-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpathplugin: {daemonset-controller } FailedCreate: Error creating: pods "csi-hostpathplugin-" is forbidden: unable to validate against any pod security policy: []

The extra role binding is silently ignored on clusters which don't
have this particular role.
2018-10-26 22:07:34 +02:00
Patrick Ohly dcbcef13b4 e2e: simplify gcePD .yaml files
Setting command line arguments via env variables that are not needed
by the binaries is just unnecessarily complex. The driver renaming
code in the E2E manifest PR would have to be made more complex to deal
with such a deployment. It is easier for that code and humans who look
at the .yaml file to remove the indirection.
2018-10-26 10:32:46 +02:00
k8s-ci-robot 63e9ecabb6
Merge pull request #70209 from ixdy/update-images-after-#69995
Update images after #69995
2018-10-25 05:55:29 -07:00