Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 3.13 KB

File metadata and controls

63 lines (47 loc) · 3.13 KB

Cluster Bootstrap

A GitOps repository for bootstrapping Kubernetes clusters with ArgoCD using the App of Apps pattern.

What is this?

This repo provides a fully automated, reproducible way to bootstrap a Kubernetes cluster with a complete platform stack. A single CLI command installs ArgoCD, which then self-manages and deploys all platform components through Helm charts.

Key Features

  • App of Apps pattern — ArgoCD manages itself and all components from a single root Application
  • Sync wave ordering — components deploy in the correct dependency order
  • Multi-environment support — dev, staging, and prod configurations with cascading values
  • Secrets management — SOPS + age encryption with Vault and External Secrets Operator integration
  • CLI tool — Go-based CLI automates the entire bootstrap process

Components

Component Namespace Sync Wave Purpose Optional
ArgoCD argocd 0 GitOps controller (self-managed) No
Vault vault 1 Secrets engine Yes*
External Secrets external-secrets 1 Syncs secrets from Vault/AWS to Kubernetes Yes*
Prometheus Operator CRDs monitoring 2 CRDs for monitoring stack Yes
ArgoCD Repo Secret argocd 2 Git repository credentials (configurable backend**) Yes*
Reloader reloader 2 Restarts workloads on config changes Yes
Kube Prometheus Stack monitoring 3 Prometheus monitoring Yes
Trivy Operator trivy-system 3 Vulnerability scanning Yes

* Secrets Backend: Choose one approach:

  • No backend — bootstrap CLI creates the secret directly (simplest)
  • Vault — centralized secrets storage with External Secrets syncing (recommended for enterprise)
  • AWS Secrets Manager — AWS-native secrets management (recommended for AWS organizations)

** See Secret Backends for configuration options.

Installation

Install the CLI tool globally using go install:

# From GitHub
go install github.com/user-cube/cluster-bootstrap/cluster-bootstrap-cli@latest

# Or from local source
git clone git@github.com:user-cube/cluster-bootstrap.git
cd cluster-bootstrap
go install ./cluster-bootstrap-cli

See CLI Reference for details and alternative installation methods.

Quick Links