Added MOS 24.2: different bug fixes

List of changes:
- use fresh heat image as a base for toolset image
- added cacert secret for public endpoints at rally and toolset
- rally creates env with public endpoints
- fixed rally openstack dry-run scenario typo
- added setting ext gw info for heat-router in prepare.sh
- added label to set image tag in dockerfile

Related-PROD: PROD-37187

Change-Id: I83c91c8ab20f39087f7db7b32f67dd7b2130d5e7
diff --git a/k8s/workspace/init-resources.sh b/k8s/workspace/init-resources.sh
index 95e1880..5a87470 100644
--- a/k8s/workspace/init-resources.sh
+++ b/k8s/workspace/init-resources.sh
@@ -20,6 +20,10 @@
     echo "# Copy keystone vars"
     kubectl get secret keystone-keystone-admin -n openstack -o yaml | sed 's/namespace: openstack/namespace: qa-space/g' | kubectl apply -n qa-space -f -
 fi
+if [ -z $(kubectl -n qa-space get secret keystone-ca-bundle --no-headers | cut -d' ' -f1) ]; then
+    echo "# Copy keystone vars"
+    kubectl get secret keystone-ca-bundle -n openstack -o yaml | sed 's/namespace: openstack/namespace: qa-space/g' | kubectl apply -n qa-space -f -
+fi
 # start toolset
 echo "# Starting toolset pod"
 kubectl apply -f ${MY_PROJFOLDER}/yamls/qa-toolset.yaml