Repository navigation
feat(resume): add a volsync-backed blog-content volume and mount it read-only at /app/blog-static - #4952
Open
dapperdivers wants to merge 1 commit into
Open
feat(resume): add a volsync-backed blog-content volume and mount it read-only at /app/blog-static#4952dapperdivers wants to merge 1 commit into
dapperdivers wants to merge 1 commit into
Conversation
…ead-only at /app/blog-static
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Storage for derekmackley.com/blog. Posts are kept out of git and out of the portfolio image: a publisher job (follow-up) writes the built static site to this volume, and the site serves it.
What's added
blog-contentKustomization using the shared volsync components, the same pattern asobsidian-second-brain: a 2Gicephfs-sharedReadWriteMany PVC, daily local + R2 restic backups, and restore if the PVC is ever recreated. Daily is enough because the content can be rebuilt from the vault.resumepod mounts it read-only at/app/blog-static, which is where the server looks by default (BLOG_PATH).resumenow depends onblog-content.RESTIC_PASSWORD/ R2 keys.Order
Safe to merge before or after dapperdivers/developer-portfolio#51. Until that image is live the mount is unused; after it,
/blogreturns a 404 until the publisher writes something.Checks
flux build ks blog-content --dry-runrenders the PVC (2Gi, cephfs-shared, RWX), both ReplicationSources (schedule0 3 * * *), the ReplicationDestination and both ExternalSecrets.Next: the publisher, a
vault-jobsCronJob that builds only allowlistedProjects/Blognotes and writes the output here. Only that job will mount this volume read-write.