Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

fix for load balancer mapping in resource_config ERT tile. #381

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions install-pcf/azure/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ jobs:
HAPROXY_FLOATING_IPS: ""
OPSMAN_CLIENT_ID: ""
OPSMAN_CLIENT_SECRET: ""
AZURE_TERRAFORM_PREFIX: {{azure_terraform_prefix}}
###########################
## Job - Deploy ERT ##
###########################
Expand Down
11 changes: 11 additions & 0 deletions tasks/config-ert/task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ cf_resources=$(
--arg mysql_nsx_lb_pool_name "${MYSQL_NSX_LB_POOL_NAME}" \
--arg mysql_nsx_lb_security_group "${MYSQL_NSX_LB_SECURITY_GROUP}" \
--arg mysql_nsx_lb_port "${MYSQL_NSX_LB_PORT}" \
--arg azure_terraform_prefix "${AZURE_TERRAFORM_PREFIX}" \
--argjson job_resource_config "${JOB_RESOURCE_CONFIG}" \
'
$job_resource_config
Expand All @@ -560,6 +561,16 @@ cf_resources=$(

|

if $iaas == "azure" then
.router |= . + { "elb_names": ["\($azure_terraform_prefix)-web-lb"] }
| .diego_brain |= . + { "elb_names": ["\($azure_terraform_prefix)-ssh-proxy-lb"] }
| .tcp_router |= . + { "elb_names": ["\($azure_terraform_prefix)-tcp-lb"] }
else
.
end

|

# NSX LBs

if $tcp_router_nsx_lb_edge_name != "" then
Expand Down
1 change: 1 addition & 0 deletions tasks/config-ert/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ params:
POE_SSL_KEY3:
OPSMAN_CLIENT_ID:
OPSMAN_CLIENT_SECRET:
AZURE_TERRAFORM_PREFIX:

inputs:
- name: pcf-pipelines
Expand Down