|
|
|
@ -168,20 +168,6 @@ resources:
|
|
|
|
|
handle: {get_resource: master_wait_handle}
|
|
|
|
|
timeout: {get_param: wait_condition_timeout}
|
|
|
|
|
|
|
|
|
|
######################################################################
|
|
|
|
|
#
|
|
|
|
|
# resource that exposes the IPs of either the kube master or the API
|
|
|
|
|
# LBaaS pool depending on whether LBaaS is enabled for the bay.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
api_address_switch:
|
|
|
|
|
type: Magnum::ApiGatewaySwitcher
|
|
|
|
|
properties:
|
|
|
|
|
pool_public_ip: {get_param: api_public_address}
|
|
|
|
|
pool_private_ip: {get_param: api_private_address}
|
|
|
|
|
master_public_ip: {get_attr: [kube_master_floating, floating_ip_address]}
|
|
|
|
|
master_private_ip: {get_attr: [kube_master_eth0, fixed_ips, 0, ip_address]}
|
|
|
|
|
|
|
|
|
|
######################################################################
|
|
|
|
|
#
|
|
|
|
|
# software configs. these are components that are combined into
|
|
|
|
@ -302,7 +288,7 @@ resources:
|
|
|
|
|
replacement_policy: AUTO
|
|
|
|
|
|
|
|
|
|
kube_master_floating:
|
|
|
|
|
type: OS::Neutron::FloatingIP
|
|
|
|
|
type: Magnum::Optional::KubeMaster::Neutron::FloatingIP
|
|
|
|
|
properties:
|
|
|
|
|
floating_network: {get_param: external_network}
|
|
|
|
|
port_id: {get_resource: kube_master_eth0}
|
|
|
|
|