This repository is a mono repo that contains Helm charts for the BA1 compute1 cluster core services. The cluster is managed using the GitOps method and the ArgoCD tool.
bootstrapping the cluster is inspired by the Cluster Bootstrapping pattern.
there are three waves of deployment:
- Wave 1: Deploying the argocd using
helm install
command when thetemplates
directory is empty. - Wave 2: Creating the required secrets, in this project we need three secrets for bootstrpping:
repo-creds
: secrets for accessing the git repository for argocd.kong-license
: secrets for kong enterprise license.kong-config
: secrets for kong configuration.
- Wave 3: Creating the root Argocd app in the argocd chart
templates
that deploys every application present in theapps
directory and callhelm upgrade
after the bootstrapping process is done, the argocd will watch the apps
directory and deploy the applications inside it.
Note: based on argocd docs we place an app insides its chart's template to keep managing itself after the bootstrap.