AGENTS.md@kubernetes · git:20260711.cf41e08 · 2026-07-11 · sha256 2410c2347ff7d076
AGENTS.md@kubernetes git:20260711.cf41e08A
Immutable. This exact content never changes and is served at /api/v1/blob/2410c2347ff7d076.
# Kubernetes Guidance
- Manage cluster state through Flux manifests in this repository; do not edit live resources directly.
- Match nearby applications and components before introducing a new pattern.
- Validate Kubernetes or mixed changes with `bash .agents/skills/pr-review/scripts/validate-pr.sh` before declaring work complete.
- Read [learned workspace facts](../.agents/learned-workspace.md) only when its trigger keywords match the task.
- Use `${SECRET_DOMAIN}` for URLs; never hardcode domains.
- Use YAML anchors only within one `---` document; Kustomize does not resolve anchors across documents.
- Store secrets with SOPS; never commit plaintext secrets or `age.key`.
- Use lowercase-dash Kubernetes names. Applications live under `kubernetes/apps/<namespace>/<app>/`; follow peer layouts and include `ks.yaml`.
- Ask before applying or reconciling live resources or decrypting or editing SOPS secrets.