blob: 0ed50419379374e61bf8e6c3f4efd8457092cbc7 [file] [log] [blame]
Andrey Shestakov718e3f42018-04-24 12:51:24 +03001classes:
Andrey Shestakov718e3f42018-04-24 12:51:24 +03002- system.openssh.client.lab
3- system.salt.master.pkg
4- system.salt.minion.ca.salt_master
5- system.salt.master.api
Sergey Kolekonov41ffdfa2018-10-30 19:47:23 +00006- system.salt.minion.cert.k8s_server
Andrey Shestakov718e3f42018-04-24 12:51:24 +03007- system.reclass.storage.salt
8- system.reclass.storage.system.kubernetes_control_cluster
Victor Ryzhenkin4e9bf572018-12-20 00:43:16 +04009- cluster.k8s-ha-calico-flannel-virtlet.infra
Andrey Shestakov718e3f42018-04-24 12:51:24 +030010parameters:
11 _param:
12 salt_master_base_environment: prd
13 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git"
14 reclass_data_revision: master
15 reclass_config_master: ${_param:infra_config_deploy_address}
16 single_address: ${_param:infra_config_address}
17 deploy_address: ${_param:infra_config_deploy_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_master_environment_revision: master
22 salt_master_environment_repository: 'https://github.com/salt-formulas'
23 salt:
24 master:
25 reactor:
26 reclass/minion/classify:
27 - salt://reclass/reactor/node_register.sls
28 reclass:
29 storage:
30 class_mapping:
31 common_node:
32 expression: all
33 node_param:
34 single_address:
35 value_template: <<node_control_ip>>
36 linux_system_codename:
37 value_template: <<node_os>>
38 salt_master_host:
39 value_template: <<node_master_ip>>
40 deploy_address:
41 value_template: <<node_deploy_ip>>
42 infra_config:
43 expression: <<node_hostname>>__startswith__cfg
44 cluster_param:
45 infra_config_address:
46 value_template: <<node_control_ip>>
47 infra_config_deploy_address:
48 value_template: <<node_deploy_ip>>
49 cluster_domain:
50 value_template: <<node_domain>>
51 kubernetes_control01:
52 expression: <<node_hostname>>__equals__ctl01
53 cluster_param:
54 kubernetes_control_node01_address:
55 value_template: <<node_control_ip>>
56 kubernetes_control_node01_deploy_address:
57 value_template: <<node_deploy_ip>>
58 kubernetes_control02:
59 expression: <<node_hostname>>__equals__ctl02
60 cluster_param:
61 kubernetes_control_node02_address:
62 value_template: <<node_control_ip>>
63 kubernetes_control_node02_deploy_address:
64 value_template: <<node_deploy_ip>>
65 kubernetes_control03:
66 expression: <<node_hostname>>__equals__ctl03
67 cluster_param:
68 kubernetes_control_node03_address:
69 value_template: <<node_control_ip>>
70 kubernetes_control_node03_deploy_address:
71 value_template: <<node_deploy_ip>>
72 kubernetes_compute:
73 expression: <<node_hostname>>__startswith__cmp
74 node_class:
75 value_template:
76 - cluster.<<node_cluster>>.kubernetes.compute
77 node_param:
78 deploy_address:
79 value_template: <<node_deploy_ip>>