The apiserver ran with no --audit-* flags at all: secret reads, pods/exec,
RBAC writes and serviceaccounts/token minting left no record anywhere.
- /etc/kubernetes/audit/audit-policy.yaml: RequestResponse for secrets
get/write, pods/exec|attach|portforward, serviceaccounts/token, rbac.*,
certificates.*, impersonate; Metadata for list/watch/update of secrets and
for everything else (that split is what keeps 22.8 GB/day down to 2.5).
- static-pod flags: --audit-policy-file, --audit-log-path (JSON, 100 MiB x 48,
maxage 7, compressed) + hostPath mounts for the policy dir and the log dir.
- install-audit.sh: idempotent, byte-identical re-application after a
kubeadm upgrade silently regenerates the manifest (Flux does not own it).
- docs/kube-apiserver-audit-logging.md: design, measured volume, sensitivity
(the log holds secret bodies), verify commands and rollback.