From dbf95038f3513c3924b4e1ea8372ab310a3dd61e Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Mon, 16 Sep 2024 17:02:04 +0530 Subject: [PATCH] fix: chart.yaml's indentation (#586) 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" }