Fixed variables error with 'public-subnet'

The current OpenStack Tacker project uses Kuryr-Kubernetes as a network.
When installing Kubernetes VIM through Devstack, the subnet name must be
changed according to the option.
However, currently, it is a fixed value so that it occurs error.
To prevent this, you need to modify the current fixed value as a variable.

Change-Id: I5c122adb6999d9761f97d52222999a2ac50eff39
Closes-Bug:#1812878
Related-Bug:#1812766
This commit is contained in:
hyunsikYang 2019-01-23 01:24:11 +09:00
parent 571079d9cb
commit 6f86bc13c1
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ function create_k8s_api_service {
# Regardless of the octavia mode, the k8s API will be behind an L3 mode
# amphora driver loadbalancer
create_load_balancer_member "$(hostname)" "$address" "$api_port" \
default/kubernetes:${KURYR_K8S_API_LB_PORT} public-subnet "$lb_name" "$project_id"
default/kubernetes:${KURYR_K8S_API_LB_PORT} ${KURYR_NEUTRON_DEFAULT_EXT_SVC_SUBNET} "$lb_name" "$project_id"
}
function configure_neutron_defaults {