summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/defaults/main.yml
blob: a182d23c5fe6c5f167c3f220a910ef07108bce03 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
openshift_cli_image_dict:
  origin: 'openshift/origin'
  openshift-enterprise: 'openshift3/ose'

openshift_hosted_images_dict:
  origin: 'openshift/origin-${component}:${version}'
  openshift-enterprise: 'openshift3/ose-${component}:${version}'

openshift_cli_image: "{{ osm_image | default(openshift_cli_image_dict[openshift_deployment_type]) }}"

# osm_default_subdomain is an old migrated fact, can probably be removed.
osm_default_subdomain: "router.default.svc.cluster.local"
openshift_master_default_subdomain: "{{ osm_default_subdomain }}"

openshift_hosted_etcd_storage_nfs_directory: '/exports'
openshift_hosted_etcd_storage_nfs_options: '*(rw,root_squash)'
openshift_hosted_etcd_storage_volume_name: 'etcd'
openshift_hosted_etcd_storage_volume_size: '1Gi'
openshift_hosted_etcd_storage_create_pv: True
openshift_hosted_etcd_storage_create_pvc: False
openshift_hosted_etcd_storage_access_modes:
  - 'ReadWriteOnce'

openshift_hosted_registry_namespace: 'default'
openshift_hosted_registry_storage_volume_name: 'registry'
openshift_hosted_registry_storage_volume_size: '5Gi'
openshift_hosted_registry_storage_create_pv: True
openshift_hosted_registry_storage_create_pvc: True
openshift_hosted_registry_storage_nfs_directory: '/exports'
openshift_hosted_registry_storage_nfs_options: '*(rw,root_squash)'
openshift_hosted_registry_storage_glusterfs_endpoints: 'glusterfs-registry-endpoints'
openshift_hosted_registry_storage_glusterfs_path: glusterfs-registry-volume
openshift_hosted_registry_storage_glusterfs_readOnly: False
openshift_hosted_registry_storage_glusterfs_swap: False
openshift_hosted_registry_storage_glusterfs_swapcopy: True
openshift_hosted_registry_storage_glusterfs_ips: []
openshift_hosted_registry_storage_access_modes:
  - 'ReadWriteMany'

openshift_logging_storage_nfs_directory: '/exports'
openshift_logging_storage_nfs_options: '*(rw,root_squash)'
openshift_logging_storage_volume_name: 'logging-es'
openshift_logging_storage_create_pv: True
openshift_logging_storage_create_pvc: False
openshift_logging_storage_access_modes:
  - ['ReadWriteOnce']

openshift_loggingops_storage_volume_name: 'logging-es-ops'
openshift_loggingops_storage_volume_size: '10Gi'
openshift_loggingops_storage_create_pv: True
openshift_loggingops_storage_create_pvc: False
openshift_loggingops_storage_nfs_directory: '/exports'
openshift_loggingops_storage_nfs_options: '*(rw,root_squash)'
openshift_loggingops_storage_access_modes:
  - 'ReadWriteOnce'

openshift_metrics_deploy: False
openshift_metrics_duration: 7
openshift_metrics_resolution: '10s'
openshift_metrics_storage_volume_name: 'metrics'
openshift_metrics_storage_volume_size: '10Gi'
openshift_metrics_storage_create_pv: True
openshift_metrics_storage_create_pvc: False
openshift_metrics_storage_nfs_directory: '/exports'
openshift_metrics_storage_nfs_options: '*(rw,root_squash)'
openshift_metrics_storage_access_modes:
  - 'ReadWriteOnce'

openshift_prometheus_storage_volume_name: 'prometheus'
openshift_prometheus_storage_volume_size: '10Gi'
openshift_prometheus_storage_nfs_directory: '/exports'
openshift_prometheus_storage_nfs_options: '*(rw,root_squash)'
openshift_prometheus_storage_access_modes:
  - 'ReadWriteOnce'
openshift_prometheus_storage_create_pv: True
openshift_prometheus_storage_create_pvc: False

openshift_prometheus_alertmanager_storage_volume_name: 'prometheus-alertmanager'
openshift_prometheus_alertmanager_storage_volume_size: '10Gi'
openshift_prometheus_alertmanager_storage_nfs_directory: '/exports'
openshift_prometheus_alertmanager_storage_nfs_options: '*(rw,root_squash)'
openshift_prometheus_alertmanager_storage_access_modes:
  - 'ReadWriteOnce'
openshift_prometheus_alertmanager_storage_create_pv: True
openshift_prometheus_alertmanager_storage_create_pvc: False

openshift_prometheus_alertbuffer_storage_volume_name: 'prometheus-alertbuffer'
openshift_prometheus_alertbuffer_storage_volume_size: '10Gi'
openshift_prometheus_alertbuffer_storage_nfs_directory: '/exports'
openshift_prometheus_alertbuffer_storage_nfs_options: '*(rw,root_squash)'
openshift_prometheus_alertbuffer_storage_access_modes:
  - 'ReadWriteOnce'
openshift_prometheus_alertbuffer_storage_create_pv: True
openshift_prometheus_alertbuffer_storage_create_pvc: False


openshift_router_selector: "region=infra"
openshift_hosted_router_selector: "{{ openshift_router_selector }}"
openshift_hosted_registry_selector: "{{ openshift_router_selector }}"