# Read-only audit identity for security runs (netsec design ยง3.3, audit finding F8). # # Security work must NOT run as kubernetes-admin / system:masters: that identity # can delete the cluster, so an investigator holding it is the largest privilege # holder in the environment. This SA exists so audit runs are scoped, attributable # and harmless. It holds no secrets and cannot exec/attach into pods. # # The kubeconfig that carries it is generated out of band (a token is a credential # and must never be committed): # kubectl -n secops create token secops-auditor --duration=8760h # and written to ~/.kube/secops.yaml (mode 600) on the operator host. apiVersion: v1 kind: ServiceAccount metadata: name: secops-auditor namespace: secops labels: app.kubernetes.io/part-of: secops