Skip to content

fix: repair Kubernetes worker pull PVC ownership#84

Merged
MarcStdt merged 1 commit into
masterfrom
fix/kubernetes-worker-pull-ownership
Jun 4, 2026
Merged

fix: repair Kubernetes worker pull PVC ownership#84
MarcStdt merged 1 commit into
masterfrom
fix/kubernetes-worker-pull-ownership

Conversation

@MarcStdt

@MarcStdt MarcStdt commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • run Kubernetes worker-pull jobs as root so they can normalize extracted PVC ownership
  • chown the pulled runtime root back to UID/GID 1000 after druid worker pull
  • preserve registry config support and worker callback behavior

Why

LGSM normal installs in prod fail after worker pull because artifact contents land root-owned on the PVC while install/runtime procedures run as the druid image user. Project Zomboid currently fails with LGSM ownership checks, and the same pattern can affect other Steam-backed scrolls.

Tests

  • go test ./internal/runtime/kubernetes
  • go test ./...
  • git diff --check

@druid-infra

Copy link
Copy Markdown
Contributor
Error: This repo is not allowlisted for Atlantis.

@MarcStdt MarcStdt merged commit ac0a896 into master Jun 4, 2026
10 checks passed
@MarcStdt MarcStdt deleted the fix/kubernetes-worker-pull-ownership branch June 4, 2026 01:13
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