File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ kubectl create namespace "$CS_NAMESPACE" || true
2020# - The cloud should be called openstack
2121# - We will detect a cacert in there and pass it to the helper chart
2222if ! test -r " $CLOUDS_YAML " ; then echo " clouds.yaml $CLOUDS_YAML not readable" ; exit 2; fi
23- CA=$( grep -A12 " ^\s\s*$OS_CLOUD :\s*\$ " $CLOUDS_YAML | grep ' cacert:' | head -n1 | sed ' s/^ *cacert: //' )
24- OS_CACERT=${OS_CACERT:- $CA }
23+ CA=$( grep -A12 " ^\s\s*$OS_CLOUD :\s*\$ " $CLOUDS_YAML | grep ' ^\s* cacert:' | head -n1 | tr -d ' " ' | sed ' s/^\s *cacert: * //' )
24+ OS_CACERT=" ${OS_CACERT:- $CA } "
2525# FIXME: We will provide more settings in cluster-settings.env later, hardcode it for now
2626# if test "$CS_CCMLB=octavia-ovn"; then OCTOVN="--set octavia_ovn=true"; else unset OCTOVN; fi
2727OCTOVN=" --set octavia_ovn=true"
You can’t perform that action at this time.
0 commit comments