Skip to content

codeforphilly-ng: drop pvc-data; data is emptyDir now#167

Merged
themightychris merged 1 commit into
mainfrom
feat/codeforphilly-ng-bare-data
May 28, 2026
Merged

codeforphilly-ng: drop pvc-data; data is emptyDir now#167
themightychris merged 1 commit into
mainfrom
feat/codeforphilly-ng-bare-data

Conversation

@themightychris
Copy link
Copy Markdown
Member

Summary

Cluster-side counterpart to codeforphilly-ng#86, which eliminated the working tree on the pod's data clone. The upstream `pvc-data.yaml` manifest was deleted in that PR, so:

  • `.holo/branches/k8s-manifests/codeforphilly-ng/app/manifests.toml` drops the now-missing file from the holomapping projection list.
  • `codeforphilly-ng/app/kustomization.yaml` drops the corresponding resources reference so kubectl apply doesn't try to reach for a manifest that no longer exists upstream.

After this merges + the next k8s-manifests projection runs, the deployment's `data` volume becomes an `emptyDir{}` (already in the upstream deployment.yaml). A pod rollout-restart will mount the fresh emptyDir and the entrypoint bare-clones from origin on first boot.

Test plan

  • Project k8s-manifests; confirm `codeforphilly-ng/app/manifests/pvc-data.yaml` is gone from the projected tree
  • `kubectl apply -k cfp-sandbox-cluster/codeforphilly-ng/app/` against sandbox succeeds
  • Pod rollout-restart: pod boots, reaches `/api/health/ready` (200)
  • Hot-reload webhook still works (push to data repo's `published` branch → pod logs the short-circuit / rebuild line)
  • First-boot bare-clone time captured from entrypoint logs

Upstream PR #86 (codeforphilly-ng) eliminated the working tree on the
pod's data clone — the API now operates on a bare clone backed by an
emptyDir. The upstream pvc-data.yaml manifest was deleted, so:

- .holo/branches/k8s-manifests/codeforphilly-ng/app/manifests.toml
  drops the pvc-data.yaml file from the holomapping projection list.
- codeforphilly-ng/app/kustomization.yaml drops the corresponding
  resources reference so kubectl apply doesn't try to reach for a
  manifest that no longer exists.

After projection + merge: the running pod's data PVC becomes
unreferenced; rollout-restart will mount an emptyDir instead and the
entrypoint bare-clones from origin on first boot.
@themightychris themightychris requested a review from a team as a code owner May 28, 2026 11:45
@themightychris themightychris merged commit 0b3b2c7 into main May 28, 2026
@themightychris themightychris deleted the feat/codeforphilly-ng-bare-data branch May 28, 2026 11:45
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.

1 participant