From 6383d1d8af1f2a9ed4a625d66fc2d44fa435b511 Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Mon, 16 Sep 2024 10:37:37 +0000 Subject: [PATCH] fix: chart.yaml's indentation Signed-off-by: Abhinandan Purkait --- deploy/helm/charts/Chart.yaml | 20 ++++++++++---------- scripts/update-chart-version.sh | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/deploy/helm/charts/Chart.yaml b/deploy/helm/charts/Chart.yaml index 28f8c4f49..326e5d713 100644 --- a/deploy/helm/charts/Chart.yaml +++ b/deploy/helm/charts/Chart.yaml @@ -6,15 +6,15 @@ appVersion: 2.6.1-prerelease icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png home: https://openebs.io/ keywords: -- cloud-native-storage -- block-storage -- filesystem -- ZFS -- Local Persistent Volumes -- storage + - cloud-native-storage + - block-storage + - filesystem + - ZFS + - Local Persistent Volumes + - storage sources: -- https://github.com/openebs/zfs-localpv + - https://github.com/openebs/zfs-localpv dependencies: -- name: crds - version: 2.6.1-prerelease - condition: crds.enabled + - name: crds + version: 2.6.1-prerelease + condition: crds.enabled diff --git a/scripts/update-chart-version.sh b/scripts/update-chart-version.sh index d803e61b2..f42554419 100755 --- a/scripts/update-chart-version.sh +++ b/scripts/update-chart-version.sh @@ -138,7 +138,7 @@ update_chart_yaml() { yq_ibl ".version = \"$VERSION\" | .appVersion = \"$APP_VERSION\"" "$CHART_YAML" yq_ibl ".version = \"$VERSION\"" "$CRD_CHART_YAML" - yq_ibl "(.dependencies[] | select(.name == \"crds\") | .version) = \"$VERSION\"" "$CHART_YAML" + yq_ibl "(.dependencies[] | select(.name == \"crds\").version) |= \"$VERSION\"" "$CHART_YAML" yq_ibl ".zfsPlugin.image.tag = \"$VERSION\"" "$VALUES_YAML" }