summaryrefslogtreecommitdiffstats
path: root/setup/configs/volumes.yml
blob: f97d485c232038266aa793ca0023acb1f066bceb (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
43
44
45
46
47
48
49
---
ands_paths:
  provision: /mnt/provision
  openshift: /mnt/openshift
  temporary: /mnt/temporary
  databases: /mnt/databases
  datastore: /mnt/datastore
  katrin_data: /mnt/katrin

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

ands_nfs_clients:
   rw: [ "{{ ands_openshift_public_network }}", "141.52.64.104" ]
   ro: [ "141.52.64.0/23" ]

ands_storage_domains:
  - servers: "ands_storage_servers"
    clients: [ "masters", "new_masters" ]
    volumes:
      provision: { type: "cfg",  mount: "{{ ands_paths.provision }}" }
      openshift: { type: "cfg",  mount: "{{ ands_paths.openshift }}", nfs_clients: "{{ ands_nfs_clients }}" }
      databases: { type: "db",   mount: "{{ ands_paths.databases }}" }
      temporary: { type: "tmp",  mount: "{{ ands_paths.temporary }}", nfs_clients: "{{ ands_nfs_clients }}" }
      datastore: { type: "data", mount: "{{ ands_paths.datastore }}", nfs_clients: "{{ ands_nfs_clients }}" }
      katrin_data: { type: "data", mount: "{{ ands_paths.katrin_data }}", nfs_clients: "{{ ands_nfs_clients }}" }
#  - 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)
# If not started with '/' will be prepended with project name
ands_openshift_volumes:
  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" }