Skip to content

admin/dorfarchiv

PublicMirror

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>
Levin Keller authored 1 parent 264d3e2commit b8c71571bd633f770710466aab10f84d0814e727Browse files

Showing 1 changed file with 2 additions and 0 deletions.

Modifieddeploy/overlays/production/deployment.yaml+2 -0
@@ -15,6 +15,8 @@ spec:
1515 labels:
1616 app: dorfarchiv
1717 spec:
18added: # Eigener User-Namespace: root im Container ist auf dem Host kein root.
19added: hostUsers: false
1820 containers:
1921 - name: web
2022 # Image-Referenz wird von kustomize (images:) verwaltet — bare ref.