Add mcp11-k8s-calico model
This model has been generated using the cookiecutter and adapted with
the modification from https://github.com/mceloud/k8s-salt-model.git.
Change-Id: Ic47e865b7221e4fd9c2f3b491e3cef047b038d16
diff --git a/classes/cluster/virtual-mcp11-k8s-calico/infra/config.yml b/classes/cluster/virtual-mcp11-k8s-calico/infra/config.yml
new file mode 100644
index 0000000..db2efc2
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-k8s-calico/infra/config.yml
@@ -0,0 +1,53 @@
+classes:
+- system.linux.system.repo.mcp.salt
+- system.linux.system.repo.ubuntu
+- system.openssh.client.lab
+- system.salt.master.pkg
+- system.salt.minion.ca.salt_master
+- system.salt.master.api
+- system.salt.minion.cert.k8s_server
+- system.reclass.storage.salt
+- system.reclass.storage.system.kubernetes_control_cluster
+- cluster.virtual-mcp11-k8s-calico.infra
+parameters:
+ _param:
+ salt_master_base_environment: prd
+ reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
+ reclass_data_revision: master
+ reclass_config_master: ${_param:infra_config_deploy_address}
+ single_address: ${_param:infra_config_address}
+ deploy_address: ${_param:infra_config_deploy_address}
+ linux_system_codename: xenial
+ salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
+ salt_master_host: ${_param:infra_config_address}
+ apt_mk_version: nightly
+ reclass:
+ storage:
+ node:
+ kubernetes_compute_node01:
+ name: ${_param:kubernetes_compute_node01_hostname}
+ domain: ${_param:cluster_domain}
+ classes:
+ - cluster.${_param:cluster_name}.kubernetes.compute
+ params:
+ salt_master_host: ${_param:infra_config_address}
+ linux_system_codename: xenial
+ single_address: ${_param:kubernetes_compute_node01_address}
+ kubernetes_compute_node02:
+ name: ${_param:kubernetes_compute_node02_hostname}
+ domain: ${_param:cluster_domain}
+ classes:
+ - cluster.${_param:cluster_name}.kubernetes.compute
+ params:
+ salt_master_host: ${_param:infra_config_address}
+ linux_system_codename: xenial
+ single_address: ${_param:kubernetes_compute_node02_address}
+ prx_node:
+ name: ${_param:kubernetes_proxy_node01_hostname}
+ domain: ${_param:cluster_domain}
+ classes:
+ - cluster.${_param:cluster_name}.infra
+ params:
+ salt_master_host: ${_param:infra_config_address}
+ linux_system_codename: xenial
+ single_address: ${_param:kubernetes_proxy_node01_address}