Story Crater Bot
b568c015e2
feat(phase4): ArgoCD-driven Terraform with PVC imports
Phase 4 implementation (true IaC):
- ArgoCD Application: terraform-apply (PostSync Hook Job)
- Hook Job runs: terraform init && terraform apply -auto-approve
- ServiceAccount + ClusterRole for cluster-admin
- SOPS-encrypted S3 credentials (terraform-s3-secrets.enc.yaml)
- Pre-commit hook blocks local 'terraform apply'
- In-cluster kubeconfig for Kubernetes provider
- AWS credentials file with minio profile
State imports:
- Imported kubernetes_persistent_volume_claim.portainer (dashboard/portainer)
- Imported kubernetes_persistent_volume_claim.grafana (logging/grafana)
- Imported kubernetes_persistent_volume_claim.loki (logging/storage-loki-0)
Workflow:
1. Edit terraform/*.tf files
2. git push to main
3. ArgoCD detects changes in k8s/hooks/phase4
4. Hook Job automatically runs terraform apply
5. No manual 'terraform apply' needed ever again
2026-07-15 17:48:18 -07:00
..
2026-07-15 16:39:27 -07:00
2026-07-15 15:04:26 -07:00
2026-07-11 19:19:59 -07:00
2026-07-11 19:19:44 -07:00
2026-07-14 13:14:46 -07:00
2026-07-11 19:17:22 -07:00
2026-07-11 19:19:59 -07:00
2026-07-11 19:17:54 -07:00
2026-07-11 19:19:59 -07:00
2026-07-15 17:48:18 -07:00
2026-07-14 13:14:46 -07:00
2026-07-15 16:24:45 -07:00
2026-07-15 16:24:45 -07:00
2026-07-11 19:19:59 -07:00
2026-07-11 19:17:28 -07:00
2026-07-11 19:17:54 -07:00
2026-07-11 19:19:59 -07:00
2026-07-13 16:43:58 -07:00
2026-07-14 14:37:41 -07:00
2026-07-15 16:02:20 -07:00
2026-07-15 16:24:45 -07:00
2026-07-15 16:23:30 -07:00