blob: 65bd702486e1bb814cdf467cab5cb526663f7ef7 [file] [log] [blame]
Ales Komareka4f836f2017-05-17 13:12:51 +02001reclass:
2 storage:
3 enabled: true
4 class_mapping:
5 common_node:
Ales Komarekf0942d72017-05-23 10:10:37 +02006 expression: all
Ales Komareka4f836f2017-05-17 13:12:51 +02007 node_param:
8 single_address:
Ales Komarekf0942d72017-05-23 10:10:37 +02009 value_template: <<node_ip>>
Ales Komareka4f836f2017-05-17 13:12:51 +020010 linux_system_codename:
Ales Komarekf0942d72017-05-23 10:10:37 +020011 value_template: <<node_os>>
12 salt_master_host:
13 value_template: <<node_master_ip>>
14 infra_config:
15 expression: <<node_hostname>>__startswith__cfg
Ales Komareka4f836f2017-05-17 13:12:51 +020016 cluster_param:
Ales Komarekf0942d72017-05-23 10:10:37 +020017 infra_config_address:
18 value_template: <<node_ip>>
19 infra_config_deploy_address:
20 value_template: <<node_ip>>
21 infra_proxy:
22 expression: <<node_hostname>>__startswith__prx
23 node_class:
24 value_template:
25 - cluster.<<node_cluster>>.stacklight.proxy
26 kubernetes_control01:
27 expression: <<node_hostname>>__equals__ctl01
Ales Komareka4f836f2017-05-17 13:12:51 +020028 cluster_param:
Ales Komarekf0942d72017-05-23 10:10:37 +020029 kubernetes_control_node01_address:
30 value_template: <<node_ip>>
31 kubernetes_control02:
32 expression: <<node_hostname>>__equals__ctl02
33 cluster_param:
34 kubernetes_control_node02_address:
35 value_template: <<node_ip>>
36 kubernetes_control03:
37 expression: <<node_hostname>>__equals__ctl03
38 cluster_param:
39 kubernetes_control_node03_address:
40 value_template: <<node_ip>>
41 kubernetes_compute:
42 expression: <<node_hostname>>__startswith__cmp
43 node_class:
44 value_template:
45 - cluster.<<node_cluster>>.kubernetes.compute