Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add back removed sub-charts
[it/dep.git]
/
ric-infra
/
15-Chartmuseum
/
bin
/
install
diff --git
a/ric-infra/15-Chartmuseum/bin/install
b/ric-infra/15-Chartmuseum/bin/install
index
f1a3bb8
..
ae097fe
100755
(executable)
--- a/
ric-infra/15-Chartmuseum/bin/install
+++ b/
ric-infra/15-Chartmuseum/bin/install
@@
-64,11
+64,12
@@
NODENAME=$(kubectl get node | awk 'NR==2{print $1}')
kubectl label --overwrite nodes $NODENAME helm-node=enable
DIRTEMP=$DIR
kubectl label --overwrite nodes $NODENAME helm-node=enable
DIRTEMP=$DIR
-.
./clear_data_path
+.
"$DIR/clear_data_path"
DIR=$DIRTEMP
RICINFRA_COMPONENTS="chartmuseum"
DIR=$DIRTEMP
RICINFRA_COMPONENTS="chartmuseum"
+mkdir -p /tmp/chartmuseum-data
echo "Deploying RIC infra components [$RICINFRA_COMPONENTS]"
echo "Helm Release Name: $RELEASE_NAME"
echo "Deploying RIC infra components [$RICINFRA_COMPONENTS]"
echo "Helm Release Name: $RELEASE_NAME"
@@
-79,11
+80,10
@@
helm package -d /tmp $DIR/../../../ric-common/Common-Template/helm/ric-common
-
-
for component in $RICINFRA_COMPONENTS; do
mkdir -p $DIR/../helm/$component/charts/
for component in $RICINFRA_COMPONENTS; do
mkdir -p $DIR/../helm/$component/charts/
+
cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $DIR/../helm/$component/charts/
if [ -z $OVERRIDEYAML ]; then
cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $DIR/../helm/$component/charts/
if [ -z $OVERRIDEYAML ]; then