Upgrades
Upgrades
Section titled “Upgrades”This page covers keeping a deployment current: container image tags, Helm chart upgrades, and how this fork relates to upstream releases.
Prerequisites
Section titled “Prerequisites”- An existing container or Helm deployment (see Deployment).
Image tags
Section titled “Image tags”| Tag | Behavior | Recommended for |
|---|---|---|
latest | Moves with each build from main. | Trying the newest build; non-critical use. |
sha-<commit> | Immutable; always the same image. | Persistent and production-like deployments. |
For a stable deployment, pin an immutable sha-<commit> tag and update it deliberately:
docker pull ghcr.io/forgeguard-ai/markdown-live-preview:sha-<commit>Upgrade a container / Compose deployment
Section titled “Upgrade a container / Compose deployment”docker compose pull # or: docker pull <image>:<tag>docker compose up -dBecause the app is stateless (all user state lives in the visitor’s browser), upgrades do not require data migration. Users keep their locally stored content and settings.
Upgrade the Helm release
Section titled “Upgrade the Helm release”helm upgrade --install markdown-live-preview \ oci://ghcr.io/forgeguard-ai/helm-charts/markdown-live-preview --version <chart-version> \ --set image.tag=<image-tag>The chart version and the image tag are independent. Pin both for reproducibility. Verify after upgrading:
kubectl rollout status deploy/markdown-live-previewTracking upstream
Section titled “Tracking upstream”This fork tracks upstream tagged releases of tanabe/markdown-live-preview and reapplies the
ForgeGuard privacy, container, and Helm changes on top. New upstream features are not automatically
present; see Fork compatibility for current divergences, and
Migration from upstream if you are moving from an upstream
build.
Verify
Section titled “Verify”curl --fail http://localhost:8080/