New version of the common template. It unifies the naming convention between platform...
[it/dep.git] / ric-aux / 80-Auxiliary-Functions / bin / install
index e759f66..c44cfbb 100755 (executable)
@@ -43,15 +43,15 @@ echo "Platform Namespace: $NAMESPACE"
 echo "Helm Release Name: $RELEASE_NAME"
 
 
-COMMON_CHART_VERSION=$(cat $DIR/../../../ric-platform/50-RIC-Platform/helm/common/Chart.yaml | grep version | awk '{print $2}')
+COMMON_CHART_VERSION=$(cat $DIR/../../../ric-common/Common-Template/helm/ric-common/Chart.yaml | grep version | awk '{print $2}')
 
-helm package -d /tmp $DIR/../../../ric-platform/50-RIC-Platform/helm/common
+helm package -d /tmp $DIR/../../../ric-common/Common-Template/helm/ric-common/
 
 
 for component in $RICAUX_COMPONENTS; do
   echo "Preparing chart for comonent $component"
   mkdir -p  $DIR/../helm/$component/charts/
-  cp /tmp/common-$COMMON_CHART_VERSION.tgz $DIR/../helm/$component/charts/
+  cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $DIR/../helm/$component/charts/
   if [ -z $OVERRIDEYAML ]; then
   helm install --namespace "${NAMESPACE}" --name "${RELEASE_NAME}-$component" $DIR/../helm/$component
   else