Commit Graph
12 Commits
Author SHA1 Message Date
Bobby c6565d86aa docs 2026-11-18 15:33:26 -05:00
Bobby 88235fc824 feat: Add PostgreSQL Kubernetes deployment with Kustomize
- Create infrastructure for PostgreSQL StatefulSet in Kubernetes
- Implement environment-specific configurations (staging/production)
- Add Kustomize overlays for deterministic deployments
- Document deployment process in AGENTS.md and infra/k8s/README.md
- Include Makefile and helper scripts for easy management

New directories:
- infra/k8s/base/ - Shared resources (StatefulSet, Service, PVC, Namespace)
- infra/k8s/staging/ - Staging environment overlay
- infra/k8s/production/ - Production environment overlay

Key files:
- infra/k8s/base/kustomization.yaml
- infra/k8s/staging/kustomization.yaml
- infra/k8s/production/kustomization.yaml
- infra/k8s/README.md

Resources are prefixed by environment (staging-, production-) and deployed
to the postgres namespace.
2026-11-18 15:29:00 -05:00
Bobby 9568d4ca6e cleanup with make 2026-11-18 09:23:11 -05:00
Bobby a5047cb72e feat: Linode Provider v2 migration and backend module
- Documented Linode Terraform Provider v2 migration in ADR-0002
- Created dedicated backend module for state storage
- Updated all modules for v2 patterns (cluster→region, pools→pool, tags)
- Added firewall outputs and backend outputs
- Updated example tfvars files with v2 configurations
- Updated AGENTS.md, README.md, and documentation
2026-11-17 23:29:19 -05:00
Bobby 27abc1891b feat: address code review feedback for infrastructure
- Add terraform backend configuration (s3-compatible with Linode Object Storage)
- Update PostgreSQL pool sizes from 10/25 to 2/3 in ADR-0001
- Add explicit linode provider configuration in providers.tf
- Document DROP policies for security model

This addresses both required and optional feedback from the code review.
2026-11-17 22:45:04 -05:00
Bobby 494f38c1f3 01a: update Linode Terraform for provider v2
- Update all modules to use Linode provider v2 (linode/linode ~> 2.0)
- Replace deprecated cluster attribute with region in all modules
- Update firewall to use ipv4/ipv6 instead of cidrs (TCP/UDP protocols)
- Update LKE endpoint output to use api_endpoints[0] instead of deprecated hostname
- Add OBJECT_STORAGE_CLUSTER variable for object storage configuration
- Update Makefile with new variables and validate target
- Add storage/outputs.tf for standardized object storage outputs
- Update .env and .env.example with clean format (no inline comments)
- Update all terraform.tfvars.example files for consistency
2026-11-17 22:09:31 -05:00
Bobby 341cd05ac5 01: infra 2026-11-17 14:39:40 -05:00
Bobby ec9bb74be0 setup 2026-11-17 12:32:17 -05:00
Bobby 238371147c rm scratch folder 2026-11-16 18:06:25 -05:00
Bobby f46e184d00 mvp: fix CI/CD ticket filename 2026-11-16 17:23:06 -05:00
Bobby 586bd6d7e5 mvp: publish ticket files 2026-11-16 17:19:28 -05:00
Bobby 671ab2928b docs: add MVP spec and glossary for HAPI 2026-11-16 16:48:32 -05:00