Add chart to deploy IstioOperator resource
[icn.git] / env / lib / common.sh
index a0d5442..2cd93d6 100755 (executable)
@@ -66,6 +66,24 @@ KATA_WEBHOOK_VERSION="2.3.2"
 #jump server K8s cluster
 KUBECTL_VERSION="v1.20.7"
 
+#The yq version to use
+YQ_VERSION="v4.20.1"
+
+#Istio repository URL
+ISTIOREPO="${ISTIOREPO:-https://github.com/istio/istio.git}"
+#Path to clone the Istio repo
+ISTIOPATH="/opt/src/istio"
+#Istio version to use
+ISTIO_VERSION="1.10.3"
+
+#Addon versions
+CDI_VERSION="v1.44.1"
+CPU_MANAGER_VERSION="v1.4.1"
+KUBEVIRT_VERSION="v0.50.0"
+MULTUS_VERSION="v3.8"
+NODUS_VERSION="dd9985e5be010b764b324b57c1afe985a59abf68"
+QAT_VERSION="v0.23.0"
+
 #refered from onap
 function call_api {
     #Runs curl with passed flags and provides
@@ -289,6 +307,10 @@ function clone_emco_repository {
     clone_repository ${EMCOPATH} ${EMCOREPO} ${EMCO_VERSION}
 }
 
+function clone_istio_repository {
+    clone_repository ${ISTIOPATH} ${ISTIOREPO} ${ISTIO_VERSION}
+}
+
 function fetch_image {
     if [[ "${BM_IMAGE_URL}" && "${BM_IMAGE}" ]]; then
        mkdir -p "${IRONIC_DATA_DIR}/html/images"