From 06539bb712b0b8d276d6d804e502e220fad274fa Mon Sep 17 00:00:00 2001 From: Thomas Ferrandiz Date: Thu, 5 Sep 2024 08:51:33 +0000 Subject: [PATCH] Fix multus chart version The `'version` field should start with a v --- packages/rke2-multus/charts/Chart.yaml | 2 +- updatecli/scripts/update-multus.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rke2-multus/charts/Chart.yaml b/packages/rke2-multus/charts/Chart.yaml index 93578f0..a9e546b 100755 --- a/packages/rke2-multus/charts/Chart.yaml +++ b/packages/rke2-multus/charts/Chart.yaml @@ -14,4 +14,4 @@ name: rke2-multus sources: - https://github.com/intel/multus-cni type: application -version: 4.1.0 +version: v4.1.0 diff --git a/updatecli/scripts/update-multus.sh b/updatecli/scripts/update-multus.sh index 37a99c0..425528c 100755 --- a/updatecli/scripts/update-multus.sh +++ b/updatecli/scripts/update-multus.sh @@ -7,7 +7,7 @@ if [ -n "$MULTUS_VERSION" ]; then if [ "$current_multus_version" != "$MULTUS_VERSION" ]; then echo "Updating Multus chart to $MULTUS_VERSION" if [ "$app_version" != "$current_app_version" ]; then - sed -i "s/version: .*/version: $app_version/g" packages/rke2-multus/charts/Chart.yaml + sed -i "s/version: .*/version: v$app_version/g" packages/rke2-multus/charts/Chart.yaml sed -i "s/appVersion: .*/appVersion: $app_version/g" packages/rke2-multus/charts/Chart.yaml sed -i "s/ tag: $current_multus_version/ tag: $MULTUS_VERSION/g" packages/rke2-multus/charts/values.yaml sed -i "s/ tag: $current_app_version/ tag: $app_version/g" packages/rke2-multus/charts/values.yaml