blumeops/argocd/manifests/shower
Erich Blume 95b663209f C1: bake shower runtime env into image; allow tailnet host
Two complementary fixes for the deploy that just landed:

1. Pod was 0/1 Running because the readiness probe sends
   `Host: shower.ops.eblu.me` and the app's hardcoded ALLOWED_HOSTS
   only includes `shower.eblu.me`. settings.py exposes a
   DJANGO_ALLOWED_HOSTS env-var extras hook for exactly this case —
   wired into the configmap.

2. `kubectl exec deploy/shower -- python -m django <cmd>` returned
   "No module named django" because PYTHONPATH lived only inside the
   entrypoint script. Moved PYTHONPATH, DJANGO_SETTINGS_MODULE, PATH,
   and HOME into the image's Env block so exec'd shells inherit them.
   The entrypoint now just runs the boot sequence; the exports are
   redundant (image Env covers them) and gone.

FOD inputs are unchanged so outputHash stays valid; no fakeHash dance.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 10:46:28 -07:00
..
configmap.yaml C1: bake shower runtime env into image; allow tailnet host 2026-05-11 10:46:28 -07:00
deployment.yaml C1: deploy adelaide-baby-shower-app to ringtail k3s 2026-05-11 08:14:12 -07:00
external-secret.yaml C1: deploy adelaide-baby-shower-app to ringtail k3s 2026-05-11 08:14:12 -07:00
ingress-tailscale.yaml C1: deploy adelaide-baby-shower-app to ringtail k3s 2026-05-11 08:14:12 -07:00
kustomization.yaml C1: pin shower image tag to v1.0.1-3ead5ae-nix (run 538) 2026-05-11 10:34:45 -07:00
pv-nfs.yaml C1: bake shower wheel into image; wire borgmatic; refine NFS docs 2026-05-11 08:37:12 -07:00
pvc.yaml C1: deploy adelaide-baby-shower-app to ringtail k3s 2026-05-11 08:14:12 -07:00
service.yaml C1: deploy adelaide-baby-shower-app to ringtail k3s 2026-05-11 08:14:12 -07:00