Skip to content

17 · Templates#

Copy-paste-modify-use. All placeholders use <UPPER_CASE>.

Table of Contents#

Folder Content
github-actions/ Reusable workflows: docker build/push, terraform plan, release-please
kubernetes/ Production-grade Deployment, Service, HPA, NetworkPolicy, PDB
dockerfiles/ Multi-stage Dockerfiles: Go, Node.js, Python
terraform/ Module skeleton + standard variable structure
kyverno-policies/ Signature verification, label enforcement, image source restriction
runbooks/ Runbook and postmortem templates
prometheus-rules/ SLO recording + alerting rule templates
gitignore/ .gitignore examples per stack

General rule#

  • No real IP/domain/credential in any template
  • ✅ Comment lines explain the placeholders
  • ✅ Every template is valid via kubectl apply or terraform plan
  • ✅ "Change this" comments are clearly marked