Skip to content

Commit

Permalink
feat(helm): Add repo migration (#480)
Browse files Browse the repository at this point in the history
* Extend entrypoint script for repo migration
* Update to latest image version
  • Loading branch information
TobiWo authored Nov 21, 2023
1 parent cc86a2f commit f2b7aee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/ipfs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions charts/ipfs/templates/entrypoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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="" ;;
Expand Down

0 comments on commit f2b7aee

Please sign in to comment.