k8s/agent-access: a namespace-limited service account and kubeconfig for a coding agent

Read-only by default, optional deploy role; no Secrets, exec,
port-forward or RBAC. Tokens from kubectl create token, time-limited.
Not applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki
This commit is contained in:
2026-10-19 09:49:20 +02:00
co-authored by Claude Opus 5.5
parent f0f4f57fee
commit 461f9d5578
8 changed files with 246 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# Agent access to the mg4 namespace, applied separately from k8s/: `kubectl apply -k k8s/agent-access/`.
# Read-only by default; add role-deploy.yaml below to let the agent apply changes too.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- serviceaccount.yaml
- role-read.yaml
# - role-deploy.yaml