From 751aed0098fc90e351f5abb629bf68fea2f9b9b5 Mon Sep 17 00:00:00 2001 From: qiaozp <47812250+chivalryq@users.noreply.github.com> Date: Tue, 8 Mar 2022 12:26:25 +0800 Subject: [PATCH] Fix: install definition script (#3376) Signed-off-by: qiaozp --- hack/utils/installdefinition.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/utils/installdefinition.sh b/hack/utils/installdefinition.sh index 8f8d8c029..8af773634 100755 --- a/hack/utils/installdefinition.sh +++ b/hack/utils/installdefinition.sh @@ -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 \ No newline at end of file +check_install