Skip to content

fix(workspace-minio): sovereign digest pin + clear the permanent OutOfSync - #1135

Merged
mdheller merged 1 commit into
mainfrom
fix/workspace-minio-sovereign-pin
Jul 30, 2026
Merged

fix(workspace-minio): sovereign digest pin + clear the permanent OutOfSync#1135
mdheller merged 1 commit into
mainfrom
fix/workspace-minio-sovereign-pin

Conversation

@mdheller

Copy link
Copy Markdown
Member

Live-path hardening for the sovereign workspace plane (mail/cal/drive is running in `ns/socioprophet` off zot; MinIO was the one gap).

Two live issues, both fixed

  1. minio/minio:latest → immutable digest. A moving :latest tag re-pulls unpredictably and can never be reproduced (our moving-tag/IfNotPresent trap). Pinned to @sha256:14cea493…, which is the release running live at pin time — zero behavior change, just reproducibility.
  2. ws-workspace-minio was permanently OutOfSync. The p0-lab overlay requested a 20Gi PVC while the live volume is 100Gi. A PVC can grow but never shrink, so every sync failed with storage: can not be less than status.capacity. Overlay held at 100Gi to match, with a comment so it can't regress.

Verified

  • kubectl kustomize overlays/p0-lab renders storage: 100Gi + the digest-pinned image.
  • Digest confirmed against the running pod's imageID.

Sovereign follow-up (separate PR)

Mirror MinIO into registry.socioprophet.ai via the fogstack-registry publication workflow and repoint the image, so the last Docker Hub dependency in the workspace plane is closed. Tracked as part of the progressive-delivery / convergence workstream.

🤖 Generated with Claude Code

…fSync

- image: minio/minio:latest -> pinned @sha256:14cea493... (the release live at pin
  time). A moving :latest tag re-pulls unpredictably and can never be reproduced;
  digest is immutable. Sovereign follow-up: mirror into registry.socioprophet.ai.
- p0-lab overlay requested a 20Gi PVC while the live volume is 100Gi. A PVC can grow
  but never shrink, so ws-workspace-minio was stuck OutOfSync
  (storage: can not be less than status.capacity). Held at 100Gi to match.
Copilot AI review requested due to automatic review settings July 30, 2026 22:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Hardens the workspace MinIO deployment by making it reproducible (digest pin) and fixing a persistent ArgoCD/Kustomize drift caused by an attempted PVC shrink in the p0-lab overlay.

Changes:

  • Pin minio/minio image from moving :latest tag to an immutable @sha256 digest.
  • Align p0-lab overlay PVC storage request to 100Gi to match the already-provisioned volume and clear permanent OutOfSync.
  • Add inline comments documenting the PVC shrink limitation and planned registry mirroring follow-up.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
infra/k8s/workspace-minio/overlays/p0-lab/kustomization.yaml Updates PVC patch to request 100Gi (prevents drift) and documents why.
infra/k8s/workspace-minio/base/deployment.yaml Pins MinIO image to an immutable digest for reproducible rollouts.
Comments suppressed due to low confidence (1)

infra/k8s/workspace-minio/overlays/p0-lab/kustomization.yaml:1

  • This patch target matches all PersistentVolumeClaim resources in the rendered output (it only filters by kind). If the base (now or later) includes additional PVCs, they will also be forced to 100Gi unexpectedly. Tighten the selector by adding name: workspace-minio-pvc (or the correct PVC name) and/or a labelSelector so only the intended claim is modified.
apiVersion: kustomize.config.k8s.io/v1beta1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +17 to +21
# Pinned to an immutable digest (was minio/minio:latest — a moving tag that re-pulls
# unpredictably and can never be reproduced). This digest == the release running live at
# pin time. Sovereign follow-up: mirror into registry.socioprophet.ai via the
# fogstack-registry publication workflow and repoint here (tracked in the PR).
image: minio/minio@sha256:14cea493d9a34af32f524e538b8346cf79f3321eff8e708c1e2960462bd8936e
@mdheller
mdheller merged commit 3a7dbdc into main Jul 30, 2026
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants