clean up persistence handling (use existingClaim settings instead of checking accessMode) #11
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
small-hack/libretranslate-helm-chart!11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/clean-up-persistence"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes
If you want to use an existing Persistent Volume Claim: instead of setting
persistence.db.accessModeandpersistence.models.accessModetoReadWriteMany, you just setpersistence.db.existingClaimandpersistence.models.existingClaim. The reason behind this is that you can now specify the name of your existing claim and the the accessMode independently.I also went through and fixed some more spacing issues with the persistence section of the StatefulSet.