gitops-stack

by QuenchWorks

Helm chartv0.0.54App 1.0.0Apache-2.0Verified publisher

Hardened GitOps and delivery stack: Argo CD for GitOps sync, Argo Rollouts for canary and blue-green releases, Argo Workflows for pipelines, and Argo Events to start them from webhooks, with a sensor ServiceAccount already allowed to submit workflows. All QuenchWorks images are nonroot, CVE-gated, pinned by digest and cosign-signed.

About this chart

Quenchworks gitops-stack

GitOps and delivery in one install, from QuenchWorks images (nonroot, 0 fixable CVEs, pinned by digest, cosign-signed):

ComponentChartWhat it does
Argo CDargocdsyncs the cluster to what Git says
Argo Rolloutsargo-rolloutscanary and blue-green releases
Argo Workflowsargo-workflowscontainer-native pipelines
Argo Eventsargo-eventsstarts workflows from webhooks and other events

The stack also creates a gitops-sensor ServiceAccount that may submit Workflows, so an Argo Events Sensor can run a pipeline when a webhook fires.

Install

helm install gitops oci://ghcr.io/quenchworks/charts/gitops-stack

Names are fixed (gitops-argocd-server, gitops-workflows-server, ...), so run one stack per namespace. The controllers watch the whole cluster.

A webhook that runs a pipeline

Create an EventBus named default, a webhook EventSource, and a Sensor with spec.template.serviceAccountName: gitops-sensor whose trigger creates a Workflow. The release gate in .github/workflows/release-gitops-stack.yml does exactly this and waits for the workflow to succeed.

Values

KeyDefaultNotes
argocd.enabledtrueany subchart value goes under argocd.
argo-rollouts.enabledtrueany subchart value goes under argo-rollouts.
argo-workflows.enabledtrueany subchart value goes under argo-workflows.
argo-events.enabledtrueany subchart value goes under argo-events.
sensorServiceAccount.createtruethe gitops-sensor ServiceAccount and its Role

Notes

  • The Argo Workflows server is plain HTTP with server auth mode in the defaults of its chart; put it behind an authenticating proxy before exposing it.
  • Argo CD's admin password is in the argocd-initial-admin-secret Secret.

Deploy gitops-stack with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gitops-stack on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgitops-stack is pinned at v0.0.54 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply