Skip to content
Draft
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
3 changes: 2 additions & 1 deletion bbl-up/task
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,12 @@ function main() {

if [ "${SKIP_LB_CREATION}" == "false" ]; then
local bbl_cert_chain_flag
local bbl_lb_type="${BBL_LB_TYPE}"
bbl_cert_chain_flag=""
local bbl_cert_path
write_bbl_certs

lb_flags="--lb-type=cf --lb-cert=${bbl_cert_path} ${bbl_cert_chain_flag} --lb-key=${bbl_key_path} --lb-domain=${LB_DOMAIN}"
lb_flags="--lb-type=${bb_lb_type} --lb-cert=${bbl_cert_path} ${bbl_cert_chain_flag} --lb-key=${bbl_key_path} --lb-domain=${LB_DOMAIN}"
fi

set -o pipefail
Expand Down
6 changes: 6 additions & 0 deletions bbl-up/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ params:
# - Can be either the key content or a path to the key
# - If a path is provided, path is relative to the BBL_STATE_DIR

BBL_LB_TYPE: cf
# - Defines the type of load balancer to be configured.
# - The default type is 'cf', suitable for most environments.
# - You can specify a different type based on your application's requirements.
# - For the new IPv6 validation, the 'nlb' type is necessary.

LB_DOMAIN:
# - Required if `SKIP_LB_CREATION` is false
# - The domain which bbl will register
Expand Down