Petr Michalec | 88a2d09 | 2017-08-16 22:39:30 +0200 | [diff] [blame] | 1 | classes: |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 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 |
| 12 | parameters: |
| 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 Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 34 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 35 | 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 Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 43 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 44 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 45 | value_template: <<node_deploy_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 46 | kubernetes_control01: |
| 47 | expression: <<node_hostname>>__equals__ctl01 |
| 48 | cluster_param: |
| 49 | kubernetes_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 50 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 51 | kubernetes_control02: |
| 52 | expression: <<node_hostname>>__equals__ctl02 |
| 53 | cluster_param: |
| 54 | kubernetes_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 55 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 56 | kubernetes_control03: |
| 57 | expression: <<node_hostname>>__equals__ctl03 |
| 58 | cluster_param: |
| 59 | kubernetes_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 60 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 61 | kubernetes_compute: |
| 62 | expression: <<node_hostname>>__startswith__cmp |
| 63 | node_class: |
| 64 | value_template: |
| 65 | - cluster.<<node_cluster>>.kubernetes.compute |