summaryrefslogtreecommitdiffstats
path: root/setup/configs/volumes.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2017-04-01 04:53:28 +0200
committerSuren A. Chilingaryan <csa@suren.me>2017-04-01 04:53:28 +0200
commite7ed329bd81c2273c03e94c93c9ce9c1d01cdc86 (patch)
tree444778102e4f73b83ef9462235b7f614b004b264 /setup/configs/volumes.yml
downloadands-e7ed329bd81c2273c03e94c93c9ce9c1d01cdc86.tar.gz
ands-e7ed329bd81c2273c03e94c93c9ce9c1d01cdc86.tar.bz2
ands-e7ed329bd81c2273c03e94c93c9ce9c1d01cdc86.tar.xz
ands-e7ed329bd81c2273c03e94c93c9ce9c1d01cdc86.zip
Initial import
Diffstat (limited to 'setup/configs/volumes.yml')
-rw-r--r--setup/configs/volumes.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/setup/configs/volumes.yml b/setup/configs/volumes.yml
new file mode 100644
index 0000000..2546f1c
--- /dev/null
+++ b/setup/configs/volumes.yml
@@ -0,0 +1,37 @@
+---
+ands_paths:
+ provision: /mnt/provision
+ openshift: /mnt/openshift
+ temporary: /mnt/temporary
+
+ands_heketi_domain:
+ servers: "storage_nodes"
+ volumes:
+ heketidbstorage: { type: "cfg" }
+
+ands_storage_domains:
+ - servers: "ands_storage_servers"
+ clients: "ands_servers"
+ volumes:
+ provision: { type: "cfg", mount: "{{ ands_paths.provision }}" }
+ - servers: "storage_nodes"
+ clients: "nodes"
+ volumes:
+ openshift: { type: "cfg", mount: "{{ ands_paths.openshift }}" }
+ temporary: { type: "tmp", mount: "{{ ands_paths.temporary }}" }
+# - ovirt:
+# - pdv:
+
+
+# Per project list (to distribute in multiple namespaces later)
+ands_openshift_volumes:
+ etc: { volume: "openshift", path: "/etc" }
+ src: { volume: "openshift", path: "/src" }
+ www: { volume: "openshift", path: "/www" }
+ log: { volume: "temporary", path: "/log", write: true}
+ tmp: { volume: "temporary", path: "/tmp", write: true}
+
+
+# Global list, we only take things from the volume of project
+ands_openshift_files:
+ - { osv: "etc", path: "apache2-kaas", state: "directory" }