From f2b7aee78286bd09d94aa7994d6f46d312a8ee1e Mon Sep 17 00:00:00 2001 From: Tobias Wohland Date: Tue, 21 Nov 2023 16:29:31 +0100 Subject: [PATCH] feat(helm): Add repo migration (#480) * Extend entrypoint script for repo migration * Update to latest image version --- charts/ipfs/Chart.yaml | 4 ++-- charts/ipfs/templates/entrypoint.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/ipfs/Chart.yaml b/charts/ipfs/Chart.yaml index 2381d5ff1..7d1573137 100644 --- a/charts/ipfs/Chart.yaml +++ b/charts/ipfs/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.0.3 +version: 2.0.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v0.19.1" +appVersion: "v0.24.0" keywords: - ipfs diff --git a/charts/ipfs/templates/entrypoint.yaml b/charts/ipfs/templates/entrypoint.yaml index 18171d03a..f85387940 100644 --- a/charts/ipfs/templates/entrypoint.yaml +++ b/charts/ipfs/templates/entrypoint.yaml @@ -24,6 +24,8 @@ data: if [ -e "$repo/config" ]; then echo "Found IPFS fs-repo at $repo" + echo "Try to migrate existing repo..." + ipfs repo migrate else case "$IPFS_PROFILE" in "") INIT_ARGS="" ;;