mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 03:56:36 +00:00
Fix: install definition script (#3376)
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user