diff --git a/modules/vshn-lbaas-hieradata/templates/hieradata.yaml.tmpl b/modules/vshn-lbaas-hieradata/templates/hieradata.yaml.tmpl index 7356dca..3372ab1 100644 --- a/modules/vshn-lbaas-hieradata/templates/hieradata.yaml.tmpl +++ b/modules/vshn-lbaas-hieradata/templates/hieradata.yaml.tmpl @@ -15,11 +15,15 @@ profile_openshift4_gateway::private_interfaces: - ${if} %{ endfor ~} profile_openshift4_gateway::floating_addresses: +%{ if api_vip != "" ~} api: ${api_vip} +%{ endif ~} %{ if nat_vip != "" ~} nat: ${nat_vip} %{ endif ~} +%{ if router_vip != "" ~} router: ${router_vip} +%{ endif ~} profile_openshift4_gateway::floating_address_provider: ${cloud_provider} %{ if internal_vip != "" ~} profile_openshift4_gateway::internal_vip: ${internal_vip}