summaryrefslogtreecommitdiffstats
path: root/setup/configs/volumes.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-28 23:46:55 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-28 23:46:55 +0100
commit1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7 (patch)
treec75d04456ab3593442734bec3d84c90e4b973f27 /setup/configs/volumes.yml
parentfe4622305efa55e6bec8221efe8fc4bdd5462136 (diff)
downloadands-1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7.tar.gz
ands-1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7.tar.bz2
ands-1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7.tar.xz
ands-1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7.zip
First running prototype
Diffstat (limited to 'setup/configs/volumes.yml')
-rw-r--r--setup/configs/volumes.yml25
1 files changed, 14 insertions, 11 deletions
diff --git a/setup/configs/volumes.yml b/setup/configs/volumes.yml
index d93f177..f400eed 100644
--- a/setup/configs/volumes.yml
+++ b/setup/configs/volumes.yml
@@ -4,6 +4,7 @@ ands_paths:
openshift: /mnt/openshift
temporary: /mnt/temporary
databases: /mnt/databases
+ datastore: /mnt/datastore
katrin_data: /mnt/katrin
ands_heketi_domain:
@@ -15,10 +16,11 @@ ands_storage_domains:
- servers: "ands_storage_servers"
clients: "masters"
volumes:
- provision: { type: "cfg", mount: "{{ ands_paths.provision }}" }
- openshift: { type: "cfg", mount: "{{ ands_paths.openshift }}" }
- databases: { type: "db", mount: "{{ ands_paths.databases }}" }
- temporary: { type: "tmp", mount: "{{ ands_paths.temporary }}" }
+ provision: { type: "cfg", mount: "{{ ands_paths.provision }}" }
+ openshift: { type: "cfg", mount: "{{ ands_paths.openshift }}" }
+ databases: { type: "db", mount: "{{ ands_paths.databases }}" }
+ temporary: { type: "tmp", mount: "{{ ands_paths.temporary }}" }
+ datastore: { type: "data", mount: "{{ ands_paths.datastore }}" }
katrin_data: { type: "data", mount: "{{ ands_paths.katrin_data }}" }
# - servers: "storage_nodes"
# clients: "nodes"
@@ -30,13 +32,14 @@ ands_storage_domains:
# Per project list (to distribute in multiple namespaces later)
+# If not started with '/' will be prepended with project name
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}
+ etc: { volume: "openshift", path: "" }
+ etcw: { volume: "openshift", path: "", write: true }
+ data: { volume: "datastore", path: "", write: true }
+ db: { volume: "databases", path: "", write: true }
+ tmp: { volume: "temporary", path: "", write: true }
# Global list, we only take things from the volume of project
-ands_openshift_files:
- - { osv: "log", path: "apache2-kaas", state: "directory", mode: "0777" }
+#ands_openshift_files:
+# - { osv: "log", path: "apache2-kaas", state: "directory", mode: "0777" }