fix invalid access_mode logic

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2023-04-05 08:12:11 -06:00
parent e86bd4de50
commit 80abab1b9b
7 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,9 @@
# v1.8.3
Released 2023-04-02
- fix invalid `access_mode` logic (see #287)
# v1.8.2
Released 2023-04-02

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "democratic-csi",
"version": "1.8.2",
"version": "1.8.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "democratic-csi",
"version": "1.8.2",
"version": "1.8.3",
"license": "MIT",
"dependencies": {
"@grpc/grpc-js": "^1.8.4",

View File

@ -1,6 +1,6 @@
{
"name": "democratic-csi",
"version": "1.8.2",
"version": "1.8.3",
"description": "kubernetes csi driver framework",
"main": "bin/democratic-csi",
"scripts": {

View File

@ -227,6 +227,7 @@ class ControllerSynologyDriver extends CsiBaseDriver {
"MULTI_NODE_SINGLE_WRITER",
"MULTI_NODE_MULTI_WRITER",
];
break;
case "volume":
access_modes = [
"UNKNOWN",
@ -237,6 +238,7 @@ class ControllerSynologyDriver extends CsiBaseDriver {
"MULTI_NODE_READER_ONLY",
"MULTI_NODE_SINGLE_WRITER",
];
break;
}
if (

View File

@ -129,6 +129,7 @@ class ControllerZfsLocalDriver extends ControllerZfsBaseDriver {
"MULTI_NODE_SINGLE_WRITER",
"MULTI_NODE_MULTI_WRITER",
];
break;
case "volume":
access_modes = [
"UNKNOWN",
@ -140,6 +141,7 @@ class ControllerZfsLocalDriver extends ControllerZfsBaseDriver {
"MULTI_NODE_SINGLE_WRITER",
"MULTI_NODE_MULTI_WRITER",
];
break;
}
if (

View File

@ -226,6 +226,7 @@ class ControllerZfsBaseDriver extends CsiBaseDriver {
"MULTI_NODE_SINGLE_WRITER",
"MULTI_NODE_MULTI_WRITER",
];
break;
case "volume":
access_modes = [
"UNKNOWN",
@ -236,6 +237,7 @@ class ControllerZfsBaseDriver extends CsiBaseDriver {
"MULTI_NODE_READER_ONLY",
"MULTI_NODE_SINGLE_WRITER",
];
break;
}
if (

View File

@ -2036,6 +2036,7 @@ class FreeNASApiDriver extends CsiBaseDriver {
"MULTI_NODE_SINGLE_WRITER",
"MULTI_NODE_MULTI_WRITER",
];
break;
case "volume":
access_modes = [
"UNKNOWN",
@ -2046,6 +2047,7 @@ class FreeNASApiDriver extends CsiBaseDriver {
"MULTI_NODE_READER_ONLY",
"MULTI_NODE_SINGLE_WRITER",
];
break;
}
if (