Mirror of https://forge.levinkeller.de/levin/dorfarchiv.git
Pods in eigenem User-Namespace starten (hostUsers: false) (#10)
Setzt hostUsers: false in den Pod-Templates. Root im Container ist damit auf dem Host nicht mehr root (UID-Mapping über User-Namespaces). Claude-Session: https://claude.ai/code/session_01F4prmqMPNKXzB4E5DS4FRV Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Showing 1 changed file with 2 additions and 0 deletions.
| @@ -15,6 +15,8 @@ spec: | ||
| 15 | 15 | labels: |
| 16 | 16 | app: dorfarchiv |
| 17 | 17 | spec: |
| 18 | added: # Eigener User-Namespace: root im Container ist auf dem Host kein root. | |
| 19 | added: hostUsers: false | |
| 18 | 20 | containers: |
| 19 | 21 | - name: web |
| 20 | 22 | # Image-Referenz wird von kustomize (images:) verwaltet — bare ref. |