c8a7bbcd6e
- Add helm.sh/resource-policy: keep to PVC (prevent data loss on uninstall) - Add fail guard for empty name value in Helm templates - Fix Makefile IMAGE_NAME from antigravity to devcontainer - Pin busybox:1.37, homeassistant:v6.7.1, playwright:v0.0.68 (was latest/stable) - Set imagePullPolicy: IfNotPresent on pinned sidecars - Remove fetch/sequentialthinking from .mcp.json (sidecars removed from chart) - Default storage.className to empty (use cluster default, was ceph-filesystem) - Default Happy Coder URLs to empty (was private farh.net endpoints) - Broaden githubRepo schema to accept GitLab/Gitea URLs - Add unknown IDE warning before VSCode fallback - Add mkdir -p before credential file write (fix fresh PVC boot) - Guard app user existence in cont-init-user.sh - Add NOTES.txt post-install template with port-forward and secret hints - Add standard app.kubernetes.io/* labels and separate selectorLabels Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
354 B
Bash
11 lines
354 B
Bash
#!/bin/sh
|
|
# Fix the app user (UID 1000) created by baseimage-gui at runtime.
|
|
# baseimage-gui sets shell=/sbin/nologin and home=/dev/null, which
|
|
# prevents VSCode from opening terminals.
|
|
if id app >/dev/null 2>&1; then
|
|
usermod -s /bin/bash app
|
|
usermod -d /config/userdata app
|
|
else
|
|
echo "WARNING: 'app' user not found, skipping usermod" >&2
|
|
fi
|