summaryrefslogtreecommitdiffstats
path: root/setup/configs/volumes.yml
blob: 134a887c4676ea1a251770a1fc9b7b6b060076fa (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
---
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: "log", path: "apache2-kaas", state: "directory", mode: "0777" }