Skip to content

Conversation

@confusedpublic
Copy link
Contributor

Resolves #71

To resolve the above issue, I could have either:

  • Changed mountPath to be what is expected by versions of localstack >= 1.0.0
  • Or handle backwards compatible versions.

I've decided to implement a backwards compatible fix, however if the maintainers would prefer to only handle the >= 1.0.0 path, I will remove the conditional logic and update the mountPath to just be /var/lib/localstack

Tested locally by varying the values for --set image.tag to latest, 1.2.0 and 0.14.5 - the chart deploys successfully with all values.

Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for jumping on this so fast, @confusedpublic!
I just found some minor things that should be changed, afterwards we're good to merge and release a new version! 🚀

confusedpublic and others added 2 commits December 5, 2022 19:56
Co-authored-by: Alexander Rashed <2796604+alexrashed@users.noreply.github.com>
Co-authored-by: Alexander Rashed <2796604+alexrashed@users.noreply.github.com>
@confusedpublic
Copy link
Contributor Author

Thanks for those suggestions @alexrashed. I've committed the suggestions :)

Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! There's just one small issue left, then we're good to merge it :)

Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just quickly removed the line in a short commit, now we're ready to merge (and release)!
Again, thanks for the contribution, @confusedpublic! 🚀

@alexrashed alexrashed merged commit 32d7351 into localstack:main Dec 7, 2022
@confusedpublic
Copy link
Contributor Author

Thanks for sorting that out, @alexrashed 😄

@confusedpublic confusedpublic deleted the fix/71/handle-persistent-storage-localstack-v1.0.0 branch December 9, 2022 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persistent volume mount directory needs to be updated for localstack v1.0.0

2 participants