File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ if test -n "$SECRETS"; then
3737fi
3838# Determine whether we need to add project ID
3939RAW_CLOUD=$( extract_yaml clouds.$OS_CLOUD < $CLOUDS_YAML )
40- if ! echo " $RAW_CLOUD " | grep -q " ^\s*project_id:" ; then
40+ if ! echo " $RAW_CLOUD " | grep -q ' ^\s*project_id:' && echo " $RAW_CLOUD " | grep -q ' ^\s*project_name: ' ; then
4141 # Need openstack CLI for this
4242 PROJECT_NAME=$( echo " $RAW_CLOUD " | grep ' ^\s*project_name:' | sed ' s/^\s*project_name: //' )
4343 PROJECT_ID=$( openstack project show $PROJECT_NAME -c id -f value | tr -d ' \r' )
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ source "$SET"
1515# ToDo: Wait for cluster class
1616echo " The clusterclass should exist now"
1717echo " WARN: Waiting not yet implemented"
18+ sleep 3
1819set -x
19- kubectl get clusterclasses -n " $CS_NAMESPACE "
2020kubectl get images -n " $CS_NAMESPACE "
21+ kubectl get clusterclasses -n " $CS_NAMESPACE "
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ echo "The cluster should exist now"
1616echo " WARN: Waiting not yet implemented"
1717set -x
1818clusterctl describe cluster -n " $CS_NAMESPACE " $CL_NAME
19- echo clusterctl get kubeconfig -n " $CS_NAMESPACE " $CL_NAME > " ~/.kube/$CS_NAMESPACE .$CL_NAME .yaml "
19+ echo " clusterctl get kubeconfig -n $CS_NAMESPACE $CL_NAME > ~/.kube/config- $CS_NAMESPACE .$CL_NAME "
You can’t perform that action at this time.
0 commit comments