blob: c8f630ff12ebc184bfe9bb1874a381e1cd1b33a0 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001alasses:
2- 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
8- system.mysql.client
9- system.reclass.storage.salt
10- system.reclass.storage.system.kubernetes_control_cluster
11- cluster.k8s_aio_calico
12parameters:
13 _param:
14 salt_master_base_environment: prd
15 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git"
16 reclass_data_revision: master
17 reclass_config_master: ${_param:infra_config_deploy_address}
18 single_address: ${_param:infra_config_address}
19 linux_system_codename: xenial
20 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
21 salt_master_host: 127.0.0.1
22 salt:
23 master:
24 reactor:
25 reclass/minion/classify:
26 - salt://reclass/reactor/node_register.sls
27 reclass:
28 storage:
29 class_mapping:
30 common_node:
31 expression: all
32 node_param:
33 single_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000034 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020035 linux_system_codename:
36 value_template: <<node_os>>
37 salt_master_host:
38 value_template: <<node_master_ip>>
39 infra_config:
40 expression: <<node_hostname>>__startswith__cfg
41 cluster_param:
42 infra_config_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000043 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020044 infra_config_deploy_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000045 value_template: <<node_deploy_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020046 kubernetes_control01:
47 expression: <<node_hostname>>__equals__ctl01
48 cluster_param:
49 kubernetes_control_node01_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000050 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020051 kubernetes_control02:
52 expression: <<node_hostname>>__equals__ctl02
53 cluster_param:
54 kubernetes_control_node02_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000055 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020056 kubernetes_control03:
57 expression: <<node_hostname>>__equals__ctl03
58 cluster_param:
59 kubernetes_control_node03_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000060 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020061 kubernetes_compute:
62 expression: <<node_hostname>>__startswith__cmp
63 node_class:
64 value_template:
65 - cluster.<<node_cluster>>.kubernetes.compute