infraops

Gopher DigitalOcean Referral Badge

Lean Thoughts CircleCI codecov Go Reference Stability: Active

🧭 InfraOps

Infrastructure configuration and deployment for personal services, built with Go and Pulumi. Operators manage Kubernetes applications, Cloudflare, DigitalOcean, and GitHub from this repository. For application features, runtime settings, and usage, see each application’s own README.

🗺️ Overview

Area Manages Configuration
apps Kubernetes application resources apps.hjson
cf Cloudflare zones, DNS, and R2 buckets cf.hjson
do DigitalOcean VPC and Kubernetes cluster do.hjson
gh GitHub repositories, settings, and branch protection gh.hjson
k8s Cluster add-ons installed manually with Helm and kubectl Makefile

The protobuf schema defines the Pulumi areas’ HJSON fields and deployment defaults.

🚚 Bootstrap

Install Go at the version declared in go.mod, Make, and Ruby for the shared tooling. From the repository root, initialize the tooling and prepare the Go dependencies.

git submodule sync
git submodule update --init
make dep
make help

🚀 Preview a change

Install the Pulumi CLI and set up access for the area. Log in and preview from the repository root. This example previews Cloudflare.

make pulumi-login
make area=cf pulumi-preview

See the Pulumi guide for applying changes and managing stack state.

📚 Documentation