-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clarify where StoredState is stored, and the upgrade behaviour (#…
…1416) Adjustments to the `StoredState` documentation: * For `StoredDict`, `StoredList`, and `StoredSet`, note that charms would not normally create these directly and would use `StoredState` instead. * Explain where the data is stored (there is one case that it doesn't mention, where there is already a unit-state DB locally, but I think that complicates things too much to specify here). * Explain what happens when the charm is upgraded and recommend using a peer relation over stored state for K8s charms that want data preserved across upgrades. As a related drive-by: remove the `jujuremoved` tag for `use_juju_for_storage`, since this won't actually be going away with Juju 4.0. Fixes #1270
- Loading branch information
1 parent
51ba92f
commit 2d6ab02
Showing
2 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters