argo-cd

by joaquinito2051

Helm chartv0.5.4App 1.2.0Apache-2.0

A Helm chart for Argo-CD

About this chart

Argo CD Chart

This is a community maintained chart. This chart installs argo-cd, a declarative, GitOps continuous delivery tool for Kubernetes.

The default installation is intended to be similar to the provided ArgoCD releases.

This chart currently installs the non-HA version of ArgoCD.

Prerequisites

  • Kubernetes 1.7+

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add argo https://argoproj.github.io/argo-helm
$ helm install --name my-release argo/argo-cd

Chart Values

KeyTypeDefaultDescription
applicationController.containerPortint8082Container port for application controller server and metrics
applicationController.image.pullPolicystring"Always"Docker image pull policy
applicationController.image.repositorystring"argoproj/argocd"Docker image repo
applicationController.image.tagstring"v1.2.0"Docker image tag
applicationController.servicePortint8082Service port for applicaiton controller server
applicationController.volumeMountslist[]Additional volume mounts
applicationController.volumeslist[]Additional volumes
certificate.enabledboolfalseEnable certificate (requires cert-manager)
clusterAdminAccess.enabledbooltrueStandard Argo CD installation with cluster-admin access. Set this true if you plan to use Argo CD to deploy applications in the same cluster that Argo CD runs in (i.e. kubernetes.svc.default). Will still be able to deploy to external clusters with inputted credentials.
config.configManagementPluginsstringnilList of custom config management plugins, see values.yaml for format
config.createSecretbooltrueCreates the argocd-secret secret, set to false to manage externally
config.dexConfigstringnilConfiguration for external auth and URL, see values.yaml for format
config.helmRepositoriesstringnilConfiguration for external Helm charts, see values.yaml for format
config.oidcConfigstringnilConfiguration for OpenID connect, see values.yaml for format
config.repositoriesstringnilConfiguration for remote Git repositories for Applications, see values.yaml for format
config.resourceCustomizationsstringnilresourceCustomizations can be used to create custom health checks for resources [https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/health.md#way-1-define-a-custom-health-check-in-argocd-cm-configmap]
config.urlstringnilExternal URL for ArgoCD
config.instanceLabelKeystringnilCustom instance label key
config.webhook.bitbucketSecretstringnilBitBucket incoming webhook secret
config.webhook.githubSecretstringnilGitHub incoming webhook secret
config.webhook.gitlabSecretstringnilGitLab incoming webhook secret
dexServer.containerPortGrpcint5557Container port for Dex Server GRPC
dexServer.containerPortHttpint5556Container port for Dex Server HTTP
dexServer.image.pullPolicystring"Always"Docker image pull policy
dexServer.image.repositorystring"quay.io/dexidp/dex"Docker image repo
dexServer.image.tagstring"v2.12.0"Docker image tag
dexServer.initImage.pullPolicystring"Always"Docker image pull policy
dexServer.initImage.repositorystring"argoproj/argocd"Docker image repo
dexServer.initImage.tagstring"v1.2.0"Docker image tag
dexServer.servicePortGrpcint5557Service port for Dex Server GRPC
dexServer.servicePortHttpint5556Service port for Dex Server GRPC
dexServer.volumeMountslist[]Additional volume mounts
dexServer.volumeslist[]Additional volumes
ingress.additionalHostslist[]Ingress additional hosts
ingress.annotationsobject{}Annotations for ingress object, set nginx.ingress.kubernetes.io/force-ssl-redirect: "true" and nginx.ingress.kubernetes.io/ssl-passthrough: "true" if serving GRPC and HTTPS on the same ingress
ingress.enabledboolfalseEnable ingress
rbac.policyCsvstringnilRBAC policy in CSV,

Deploy argo-cd with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has argo-cd 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 chartargo-cd is pinned at v0.5.4 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