-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make necessary lib changes for k8s #413
base: 6/edge
Are you sure you want to change the base?
Conversation
lib/charms/mongodb/v0/helpers.py
Outdated
|
||
# Increment this PATCH version before using `charmcraft publish-lib` or reset | ||
# to 0 if you are raising the major API version | ||
LIBPATCH = 9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> charmcraft fetch-lib charms.mongodb.v0.helpers
Library charms.mongodb.v0.helpers version 0.7 downloaded.
I think the version here should be 8, I think charmhub will complain if you try to skip a version when publishing.
|
||
# Increment this PATCH version before using `charmcraft publish-lib` or reset | ||
# to 0 if you are raising the major API version | ||
LIBPATCH = 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> charmcraft fetch-lib charms.mongodb.v0.mongodb_backups
Library charms.mongodb.v0.mongodb_backups version 0.6 downloaded.
Like with the other lib, I think charm hub will complain for skipping a version. I guess we can publish manual versions to catch up if it does.
Issue
MongoDB k8s charm does not support backups with current lib implementation
Solution
Easier diff
Diff of changes in last version of lib to new version can be found here
Why are you adding back in the old libapi?
The new LIBAPI introduces a breaking change by supporting sharding, old libs are used my the mongodb k8s charm. So in order to make those changes and publish them we must do so by adding them back to this repo
In the future (24.10) when we support sharding on MongoDB K8s charm we will remove these libs