summaryrefslogtreecommitdiffstats
path: root/setup/configs/volumes.yml
blob: d93f17713776a06e6329bf7b84bcf388955e4f3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
ands_paths:
  provision: /mnt/provision
  openshift: /mnt/openshift
  temporary: /mnt/temporary
  databases: /mnt/databases
  katrin_data: /mnt/katrin

ands_heketi_domain:
  servers: "storage_nodes"
  volumes:
    heketidbstorage: { type: "cfg" }    

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 }}" }
      katrin_data: { type: "data", mount: "{{ ands_paths.katrin_data }}" }
#  - servers: "storage_nodes"
#    clients: "nodes"
#      openshift: { type: "cfg", mount: "{{ ands_paths.openshift }}" }
#      temporary: { type: "tmp", mount: "{{ ands_paths.temporary }}" }
#    volumes: 
#  - 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: "log", path: "apache2-kaas", state: "directory", mode: "0777" }