k8s_resource_generation: fix parameter handling
Due to assigning CA_CERTIFICATE_PATH as the CA_CERTIFICATE_PATH if a path is not passed, if the value was unset, we'd get a null value which would be passed to the devstack instead of the intended "". Closes-Bug: #1765639 Change-Id: I6f51ebd0ac7879786a3827fd37fe4953e410a843 Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This commit is contained in:
parent
eaf599f34e
commit
15172507e4
|
@ -20,6 +20,7 @@ source "$DIR/../devstack/lib/kuryr_kubernetes"
|
|||
OUTPUT_DIR=${1:-.}
|
||||
CONTROLLER_CONF_PATH=${2:-""}
|
||||
CNI_CONF_PATH=${3:-$CONTROLLER_CONF_PATH}
|
||||
CA_CERTIFICATE_PATH=${CA_CERTIFICATE_PATH:-""}
|
||||
CA_CERTIFICATE_PATH=${4:-$CA_CERTIFICATE_PATH}
|
||||
|
||||
if [ -z $CONTROLLER_CONF_PATH ]; then
|
||||
|
|
Loading…
Reference in New Issue