-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deploy: move test driver definition into driver repo
This will enable the removal of hostpath specific code from csi-release-tools. The deploy script (now using the name "deploy.sh" because that can be the same for all CSI drivers) is asked to create a test driver configuration in addition to installing the driver. The script could do that dynamically. But in the CSI driver hostpath repo we simply keep one test-driver.yaml per deployment, which works based on the assumption that the E2E test suite that corresponds to the Kubernetes version is used for testing, which is the case nowadays. These three test-driver.yaml are indeed different because the name of capabilities changed over time. prow.sh used to have a union of all those names. Now each file really only uses the name that is applicable. "topology" support hadn't been enabled in prow.sh. This looks like an oversight, so it gets added now.
- Loading branch information
Showing
7 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../util/deploy-hostpath.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file describes how to test this deployment of the CSI hostpath driver | ||
# using the Kubernetes 1.15 E2E test suite. For details see: | ||
# https://github.com/kubernetes/kubernetes/tree/v1.15.0/test/e2e/storage/external | ||
|
||
StorageClass: | ||
FromName: true | ||
SnapshotClass: | ||
FromName: true | ||
DriverInfo: | ||
Name: hostpath.csi.k8s.io | ||
Capabilities: | ||
block: true | ||
dataSource: true | ||
multipods: true | ||
persistence: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../util/deploy-hostpath.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file describes how to test this deployment of the CSI hostpath driver | ||
# using the Kubernetes 1.16 E2E test suite. For details see: | ||
# https://github.com/kubernetes/kubernetes/tree/v1.16.0/test/e2e/storage/external | ||
|
||
StorageClass: | ||
FromName: true | ||
SnapshotClass: | ||
FromName: true | ||
DriverInfo: | ||
Name: hostpath.csi.k8s.io | ||
Capabilities: | ||
block: true | ||
dataSource: true | ||
multipods: true | ||
persistence: true | ||
singleNodeVolume: true | ||
topology: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../util/deploy-hostpath.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This file describes how to test this deployment of the CSI hostpath driver | ||
# using the Kubernetes 1.17 E2E test suite. For details see: | ||
# https://github.com/kubernetes/kubernetes/tree/v1.17.0/test/e2e/storage/external | ||
|
||
StorageClass: | ||
FromName: true | ||
SnapshotClass: | ||
FromName: true | ||
DriverInfo: | ||
Name: hostpath.csi.k8s.io | ||
Capabilities: | ||
block: true | ||
controllerExpansion: true | ||
exec: true | ||
multipods: true | ||
nodeExpansion: true | ||
persistence: true | ||
singleNodeVolume: true | ||
snapshotDataSource: true | ||
topology: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters