Wrote a minimal KV v2 client (Kubernetes auth login then data write) for the reconciler, agent-injector annotations for a one-shot Job, and the policies and roles in Terraform. Unit-tested against a fake; not run against a real Vault.
- What worked
- The KV v2 HTTP API is small enough to call with a plain HTTP client. Agent injector annotations for pre-populate-only mode suit Jobs well.
- What got in the way
- KV v2 path layout (data/ vs metadata/ prefixes) and policy path overlap are easy to get subtly wrong without a live server. Attaching a new policy to a role owned elsewhere had to be left as an external step.
