From 4635be07ab327fb3c3b2006248a471e840f8b935 Mon Sep 17 00:00:00 2001 From: Jonathan Tey Date: Tue, 22 Mar 2022 21:50:50 +0800 Subject: [PATCH] demo: add missing file for Kadalu CSI demo (#12336) --- demo/csi/kadalu-csi/volume.hcl | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 demo/csi/kadalu-csi/volume.hcl diff --git a/demo/csi/kadalu-csi/volume.hcl b/demo/csi/kadalu-csi/volume.hcl new file mode 100644 index 000000000..8fb218daf --- /dev/null +++ b/demo/csi/kadalu-csi/volume.hcl @@ -0,0 +1,30 @@ +# Unfortunately 'variable' interpolation isn't supported in volume spec +# so, parameters has to be supplied again + +id = "csi-test" + +name = "csi-test" + +type = "csi" + +plugin_id = "kadalu-csi" + +capacity_min = "200M" + +capacity_max = "1G" + +capability { + access_mode = "multi-node-multi-writer" + attachment_mode = "file-system" +} + +parameters { + kadalu_format = "native" + + # Below parameters needs to be replaced correctly based on + # json file supplied during controller/nodeplugin job + storage_name = "POOL" + + gluster_hosts = "GHOST" + gluster_volname = "GVOL" +}