Commit Graph

175 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
087aafc18d Merge pull request #80568 from pohly/ephemeral-mode-check
ephemeral mode check
2019-08-26 11:53:40 -07:00
Kubernetes Prow Robot
273e9262bb Merge pull request #80342 from draveness/feature/remove-critical-pod-annotation
feat: cleanup pod critical pod annotations feature
2019-08-15 07:20:34 -07:00
Kubernetes Prow Robot
95a5781b9d Merge pull request #81304 from j-griffith/update_hostpathplugin_to_rc4
Update CSI hostpathplugin to include cloning fix
2019-08-14 12:46:11 -07:00
Patrick Ohly
7bbc06fcd4 storage: check CSIDriver.Spec.VolumeLifecycleModes
Using a "normal" CSI driver for an inline ephemeral volume may have
unexpected and potentially harmful effects when the driver gets a
NodePublishVolume call that it isn't expecting. To prevent that mistake,
driver deployments for a driver that supports such volumes must:
- deploy a CSIDriver object for the driver
- set CSIDriver.Spec.VolumeLifecycleModes such that it contains "ephemeral"

The default for that field is "persistent", so existing deployments
continue to work and are automatically protected against incorrect
usage.

For the E2E tests we need a way to specify the driver mode. The
existing cluster-driver-registrar doesn't support that and also was
deprecated, so we stop using it altogether and instead deploy and
patch a CSIDriver object.
2019-08-13 23:12:52 +02:00
Michelle Au
7c1f55f400 Update csi-provisioner and snapshotter to get selflink fix
Change-Id: I5aa44d5d530dad04968429369aff65e369a86e2e
2019-08-12 15:28:40 -07:00
j-griffith
11f14de6e2 Update CSI hostpathplugin to include cloning fix
Update to hostpathplugin:v1.2.0-rc4 to include storageClass comparison
fix.
2019-08-12 13:09:17 -06:00
draveness
495faa22db feat: cleanup pod critical pod annotations feature 2019-08-09 08:41:23 +08:00
Kubernetes Prow Robot
65e5439faf Merge pull request #80991 from davidz627/fix/testMani
Add davidz627 to testing manfiests csi owners
2019-08-05 19:58:28 -07:00
Kubernetes Prow Robot
4d337d2d32 Merge pull request #80990 from davidz627/fix/pdDriverMani
Bump GCE PD CSI Driver testing manifests to v0.5.2-gke.0 for volume limits fix
2019-08-05 18:18:44 -07:00
David Zhu
f5e95d1897 Add davidz627 to testing manfiests csi owners 2019-08-05 14:04:22 -07:00
Kubernetes Prow Robot
cce048123d Merge pull request #80610 from aojea/ipv6kubectl
Add ipv6 support to the e2e kubectl tests
2019-08-05 13:36:02 -07:00
David Zhu
6d6faff491 Bump GCE PD CSI Driver testing manifests to v0.5.2-gke.0 for volume limits fix 2019-08-05 13:23:17 -07:00
Michelle Au
b60a55dc4f fix snapshotter rbac rules
Change-Id: Ic6ebec87fd6d230a8e6cc2998df4b20d7a04a02b
2019-07-26 21:55:37 -07:00
Kubernetes Prow Robot
a3750501b0 Merge pull request #79983 from pohly/persistent-and-ephemeral-csi-volumes
persistent and ephemeral csi volumes
2019-07-25 16:01:54 -07:00
Antonio Ojea
8988965df1 Add ipv6 support to the e2e kubectl tests 2019-07-26 00:40:46 +02:00
Kubernetes Prow Robot
f243bd4787 Merge pull request #79955 from msau42/update-hostpath-csi
Update csi hostpath driver in e2e
2019-07-25 14:34:11 -07:00
Patrick Ohly
608b0e7097 e2e storage: csi-mock tests for ephemeral inline volumes
The PodInfo tests can be extended to also cover the new
csi.storage.k8s.io/ephemeral flag. However, the presence of that flag
depends on whether inline volume support is enabled, so tests that run
with and without the feature have to detect that at runtime.

Other tests have a feature tag and thus can assume that they only run
when that feature is enabled. However, we need a newer csi-mock driver
before we can actually ask it to publish an ephemeral inline volume.
2019-07-25 16:45:46 +02:00
Michelle Au
f8a7050d42 Update csi hostpath driver in e2e
Change-Id: I159a9554126b967f76fbb7f76c4336833bf2a910
2019-07-18 13:31:00 -07:00
draveness
d83526d253 Revert "feat: cleanup pod critical pod annotations feature"
This reverts commit b6d41ee5cc.
2019-07-18 13:31:12 +08:00
Kubernetes Prow Robot
9ac3fadbad Merge pull request #80126 from aojea/redis
Use docker official redis images
2019-07-15 21:51:24 -07:00
Antonio Ojea
33e1b1d8a5 Use docker official redis images 2019-07-13 17:01:25 +02:00
Kubernetes Prow Robot
ed935df86d Merge pull request #80071 from msau42/update-pd-e2es
Update pd csi driver images to most recent stable
2019-07-13 00:07:04 -07:00
Michelle Au
46b720fe8c Update pd csi driver images to most recent stable
Change-Id: If83847ca8ef2c65a90b1fc2065889dd7e74c9ab7
2019-07-12 09:30:08 -07:00
draveness
b6d41ee5cc feat: cleanup pod critical pod annotations feature 2019-07-11 08:54:19 +08:00
Jan Safranek
d6077c717d Run sidecars for csi-mock as privileged
The driver and provisioner runs as privileged, so make all the other
sidecar containers privileged too.

This helps on system with SELinux, non-privileged container can't access
socket of a privileged one.
2019-06-27 13:39:14 +02:00
Antonio Ojea
2017d9e03f Add ipv6 support to the e2e guestbook test 2019-06-25 22:40:08 +02:00
vikaschoudhary16
53c0641686 Add stub device plugin for e2e tests 2019-06-21 11:07:12 +05:30
Xing Yang
61b35caf38 Update rbac rule for external-snapshotter e2e test
In the DeleteVolumeFinalizer feature in external-snapshotter,
the external-snapshotter needs to update the PVC object to
add a Finalizer if a snapshot is being created from the PVC
and delete the Finalizer after the snapshot is created.
For that reason, we need to add "update" rbac rule for the
PVC object in external-snapshot e2e test manifest file.

DeleteVolumeFinalizer PR is here. It couldn't pass e2e test
until we fix the rbac rule in e2e.
https://github.com/kubernetes-csi/external-snapshotter/pull/47
2019-04-25 12:48:25 -07:00
Michelle Au
cb21282136 update to csi e2es to use official images 2019-04-12 15:48:55 -07:00
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