Change IP value template in class_mappings
Change-Id: I9fb474c9454d712818c06058a45d10979aab2c38
diff --git a/classes/cluster/virtual-mcp11-k8s-calico-dyn/infra/config.yml b/classes/cluster/virtual-mcp11-k8s-calico-dyn/infra/config.yml
index 88bbc73..b840d0a 100644
--- a/classes/cluster/virtual-mcp11-k8s-calico-dyn/infra/config.yml
+++ b/classes/cluster/virtual-mcp11-k8s-calico-dyn/infra/config.yml
@@ -32,7 +32,7 @@
expression: all
node_param:
single_address:
- value_template: <<node_ip>>
+ value_template: <<node_control_ip>>
linux_system_codename:
value_template: <<node_os>>
salt_master_host:
@@ -41,9 +41,9 @@
expression: <<node_hostname>>__equals__cfg01
cluster_param:
infra_config_address:
- value_template: <<node_ip>>
+ value_template: <<node_control_ip>>
infra_config_deploy_address:
- value_template: <<node_ip>>
+ value_template: <<node_deploy_ip>>
infra_proxy:
expression: <<node_hostname>>__startswith__prx
node_class:
@@ -53,17 +53,17 @@
expression: <<node_hostname>>__equals__ctl01
cluster_param:
kubernetes_control_node01_address:
- value_template: <<node_ip>>
+ value_template: <<node_control_ip>>
kubernetes_control02:
expression: <<node_hostname>>__equals__ctl02
cluster_param:
kubernetes_control_node02_address:
- value_template: <<node_ip>>
+ value_template: <<node_control_ip>>
kubernetes_control03:
expression: <<node_hostname>>__equals__ctl03
cluster_param:
kubernetes_control_node03_address:
- value_template: <<node_ip>>
+ value_template: <<node_control_ip>>
kubernetes_compute:
expression: <<node_hostname>>__startswith__cmp
node_class:
@@ -73,17 +73,17 @@
expression: <<node_hostname>>__equals__mon01
cluster_param:
stacklight_node01_address:
- value_template: <<node_ip>>
+ value_template: <<node_control_ip>>
stacklight_monitor02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
stacklight_node02_address:
- value_template: <<node_ip>>
+ value_template: <<node_control_ip>>
stacklight_monitor03:
expression: <<node_hostname>>__equals__mon03
cluster_param:
stacklight_node03_address:
- value_template: <<node_ip>>
+ value_template: <<node_control_ip>>
node:
prx_node:
name: ${_param:kubernetes_proxy_node01_hostname}