Fix multus chart version

The `'version` field should start with a v
pull/516/head
Thomas Ferrandiz 2024-09-05 08:51:33 +00:00
parent 5203bb849c
commit 06539bb712
2 changed files with 2 additions and 2 deletions

View File

@ -14,4 +14,4 @@ name: rke2-multus
sources:
- https://github.com/intel/multus-cni
type: application
version: 4.1.0
version: v4.1.0

View File

@ -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