Fix: install definition script (#3376)

Signed-off-by: qiaozp <chivalry.pp@gmail.com>
This commit is contained in:
qiaozp
2022-03-08 12:26:25 +08:00
committed by GitHub
parent 17ee4268e2
commit 751aed0098
+2 -2
View File
@@ -16,7 +16,7 @@ function check_install() {
for file in *.yaml ;
do
echo "Info: changing "$DEF_PATH"/"$file
sed -i.bak "s#namespace: {{.Values.systemDefinitionNamespace}}#namespace: vela-system#g" $file
sed -i.bak "s#namespace: {{ include \"systemDefinitionNamespace\" . }}#namespace: vela-system#g" $file
kubectl apply -f $file
rm $file
mv $file".bak" $file
@@ -29,4 +29,4 @@ check_install
DEF_PATH="charts/vela-core/templates/definitions"
check_install
check_install