blob: 1eb842b1ebd01b3c76d6f2790e8e9f802ca600ff [file] [log] [blame]
Adam Tengler048f45d2017-07-10 11:06:20 +00001classes:
Ales Komarekc12dd412017-06-27 16:24:42 +02002- system.linux.system.repo.ubuntu
3- system.openssh.client.lab
4- system.salt.master.pkg
5- system.salt.minion.ca.salt_master
6- system.salt.master.api
7- system.salt.minion.cert.k8s_server
Ales Komarekc12dd412017-06-27 16:24:42 +02008- system.reclass.storage.salt
9- system.reclass.storage.system.kubernetes_control_cluster
10- cluster.k8s_ha_calico
11parameters:
12 _param:
13 salt_master_base_environment: prd
14 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git"
15 reclass_data_revision: master
16 reclass_config_master: ${_param:infra_config_deploy_address}
17 single_address: ${_param:infra_config_address}
18 linux_system_codename: xenial
19 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
20 salt_master_host: 127.0.0.1
21 salt:
22 master:
23 reactor:
24 reclass/minion/classify:
25 - salt://reclass/reactor/node_register.sls
26 reclass:
27 storage:
28 class_mapping:
29 common_node:
30 expression: all
31 node_param:
32 single_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000033 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020034 linux_system_codename:
35 value_template: <<node_os>>
36 salt_master_host:
37 value_template: <<node_master_ip>>
38 infra_config:
39 expression: <<node_hostname>>__startswith__cfg
40 cluster_param:
41 infra_config_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000042 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020043 infra_config_deploy_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000044 value_template: <<node_deploy_ip>>
Adam Tengler4f23d962017-07-04 19:54:59 +000045 cluster_domain:
46 value_template: <<node_domain>>
Ales Komarekc12dd412017-06-27 16:24:42 +020047 kubernetes_control01:
48 expression: <<node_hostname>>__equals__ctl01
49 cluster_param:
50 kubernetes_control_node01_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000051 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020052 kubernetes_control02:
53 expression: <<node_hostname>>__equals__ctl02
54 cluster_param:
55 kubernetes_control_node02_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000056 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020057 kubernetes_control03:
58 expression: <<node_hostname>>__equals__ctl03
59 cluster_param:
60 kubernetes_control_node03_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000061 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020062 kubernetes_compute:
63 expression: <<node_hostname>>__startswith__cmp
64 node_class:
65 value_template:
66 - cluster.<<node_cluster>>.kubernetes.compute