cluster-argocd

by startxfr

Helm chartv21.3.419App 1.20.4GPL-3.0-or-laterVerified publisher

Helm chart used to configure ArgoCD using the openshift gitops operator deployed at the cluster level

About this chart

Cluster Chart : ArgoCD

This helm chart is used to configure code ready argocd via it's operator and deploy a VM into Openshift.

This chart is part of the cluster-xxx startx helm chart series that doesn't necessarily deploy pods but rather represent a cluster configuration state orchestrated by gitops tools like ArgoCD.

Requirements and guidelines

Read the startx helm-repository homepage for more information on how to use these resources.

Deploy this helm chart on openshift

1. Connect to your Openshift cluster

oc login -t <token> <cluster-url>

2. Install the repository

helm repo add startx https://helm-repository.readthedocs.io/en/latest/repos/stable/

3. Get information about this chart

helm show chart startx/cluster-argocd

4. Install this chart

helm install cluster-argocd startx/cluster-argocd

Default values

Complete deployment of a project with the following characteristics :

  • 1 project: named openshift-gitops with the following properties
    • 1 LimitRange: defined for this project
    • 1 Quotas: defined for this project
    • 3 RBAC: allowing mygroup_example to edit resources
  • 1 operator: named openshift-gitops-operator configured with
    • The gitops-1.19 channel
    • The 1.19.1 version
    • Deployed under the openshift-operators project
  • 1 argocd: named openshift-gitops
  • 1 argocd_export: every days
  • 1 argocd_project: with default namespace declared
  • 1 argocd_application: named example-application used to deploy an html example in default namespace
# base configuration running default configuration
helm install cluster-argocd startx/cluster-argocd

Values files

  • startx : values-startx.yaml, ArgoCD cluster wide service configuration using the startx groups (dev, devops and ops)
  • startx_noinfra : values-startx_noinfra.yaml, same configuration with the example project and application named startx-argocd-example-app (instead of cluster-admin and example-application)
  • startx-gitops : values-startx-gitops.yaml, startx gitops cluster wide configuration (component gitops)
  • startx-swm : values-startx-swm.yaml, the values-startx.yaml configuration for scope client1, environment swm
  • mg : values-mg.yaml, the values-startx.yaml configuration with the gov-slow-retain storage class and the startx-argocd project in openshift-gitops
helm install cluster-argocd startx/cluster-argocd -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/cluster-argocd/values-startx.yaml

App of apps values files

values-aoa-infra-*.yaml deploy a set of ArgoCD applications (one app-infra-<chart> application per chart) from one release:

Values files of the other charts

values-app-*.yaml (80 files, one values-app-<chart>.yaml for each of the 79 charts with examples/argocd/, plus the variant values-app-cluster-quaysec.yaml) hold the argocd_project and application lists of that chart. They are generated by .tools/generate-values-app.py from examples/argocd/ of the chart. Use one as a value file of cluster-argocd to deploy the chart, for example values-app-cluster-quay.yaml. values-app-cluster-quaysec.yaml is the cluster-quay one with values-startx_noinfra-secvuln.yaml (security scanning) instead of values-startx_noinfra-quay.yaml.

Deploy with ArgoCD

Deploy via ArgoCD Application

Deploy cluster-argocd using three dedicated ArgoCD Applications - one per concern - all sharing the same AppProject. The GitOps operator installs in the shared openshift-operators namespace. The ArgoCD CR deploys in openshift-gitops:

git clone https://gitlab.com/startx1/helm.git
cd helm-repository/charts/cluster-argocd/examples/argocd/
oc apply -k .

The automated sync policy ensures ArgoCD reconciles each concern independently whenever the chart or values drift from the desired state.

Chart version of the examples

The Applications of the examples/argocd/ folders of every chart pull the Helm chart from the startx repository and use the semver range targetRevision: 21.3.x, so that they follow the latest 21.3 release of the chart. Argo CD resolves the range at each refresh: pin an exact version in production (ADR-0004). Examples that read a chart from a git path and a branch are unchanged.

Source of the generated Applications

The destination namespace of an Application (spec.destination.namespace) is destinationNamespace, which defaults to the namespace of the Application itself (openshift-gitops).

In application.list[].source, the repository is read from repo (or its alias repoURL, default https://gitlab.com/startx1/helm.git) and the revision from rev (or its alias targetRevision, default master). The values-app-*.yaml files use these keys to pick the stable branch.

History

ReleaseDateDescription
16.19.592024-12-09Align all chart to the 16.19.59 release
17.14.902025-04-30Publish stable release for 4.17 version
18.11.712025-11-27Align all charts to the same releas
18.23.02026-02-28Start 4.19 branch
19.23.172026-03-02Align all dependencies to chart v19.23.11
20.14.152026-03-02Update all chrat to OCP version 4.20.14
21.3.02026-03-02Update all chart to OCP version 4.21.3
21.3.1682026-06-23add pattern app-of-apps
21.3.1832026-06-23fix: convert literal YAML blocks to proper structures
21.3.1852026-06-24Improve schema
21.3.1862026-06-24Improve cluster-argocd options
21.3.2782026-08-14add centigpu
21.3.3002026-10-21Add new charts and align all to this release
21.3.3092026-10-27Adding new charts perconna and align all to v21.3.309
21.3.3212026-11-05Adding external secret management
21.3.3712026-11-19Add Sail, oauthProxy, DSCInitialization, spot machines and annotations support
21.3.3772026-11-19full repository release: aligned pins, ArgoCD source fix, schemas and docs
21.3.3792026-11-19conventions wave: spelling, READMEs, ArgoCD examples and values-app, oauth switch
21.3.3892026-11-19full repository release: HTTPS dependency URLs, dependency-ordered release, schema guard, docs and examples
21.3.3902026-11-20full repository release: test fix, keepalived README, aligned pins
21.3.3912026-11-21chaos charts: krkn v5.2.15, new chaos-pipeline chart, security fixes for litmus and monkey; breaking, see README migration notes
21.3.3922026-11-21full repository release: chaos-pipeline run parameters and authenticated health check, aligned pins
21.3.3972026-11-21stable repository release 21.3.397: all charts aligned, unifai delegation cap documentation
21.3.3982026-11-21project: dockercfg existingSecret; chaos-pipeline: empty default for scenarios, optional ClusterOperator final check; chaos schemas regenerated
21.3.4102026-11-22full repository release: README conventions (Values files, Deploy with ArgoCD), conventions page
21.3.4122026-11-22full repository release: internal pins on the previous published version (ADR-0006)
21.3.4162026-11-23stable update: chart fixes (project, cluster-mongo, cluster-oadp, cluster-pipeline, cluster-machine, example-catalog); cluster-dvo accepts the grafana keys next to its historical keys, which keep priority
21.3.4182026-11-23commit a stable release of all charts
21.3.4192026-11-23values-app-chaos.yaml regenerated from the chaos examples: names and sync policies kept, AppProject chaos-all narrowed (1 repository, 9 cluster kinds); README sentence on targetRevision restored

Deploy cluster-argocd with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cluster-argocd 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 chartcluster-argocd is pinned at v21.3.419 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