argo-cd
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
| Key | Type | Default | Description |
|---|---|---|---|
| applicationController.containerPort | int | 8082 | Container port for application controller server and metrics |
| applicationController.image.pullPolicy | string | "Always" | Docker image pull policy |
| applicationController.image.repository | string | "argoproj/argocd" | Docker image repo |
| applicationController.image.tag | string | "v1.2.0" | Docker image tag |
| applicationController.servicePort | int | 8082 | Service port for applicaiton controller server |
| applicationController.volumeMounts | list | [] | Additional volume mounts |
| applicationController.volumes | list | [] | Additional volumes |
| certificate.enabled | bool | false | Enable certificate (requires cert-manager) |
| clusterAdminAccess.enabled | bool | true | Standard 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.configManagementPlugins | string | nil | List of custom config management plugins, see values.yaml for format |
| config.createSecret | bool | true | Creates the argocd-secret secret, set to false to manage externally |
| config.dexConfig | string | nil | Configuration for external auth and URL, see values.yaml for format |
| config.helmRepositories | string | nil | Configuration for external Helm charts, see values.yaml for format |
| config.oidcConfig | string | nil | Configuration for OpenID connect, see values.yaml for format |
| config.repositories | string | nil | Configuration for remote Git repositories for Applications, see values.yaml for format |
| config.resourceCustomizations | string | nil | resourceCustomizations 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.url | string | nil | External URL for ArgoCD |
| config.instanceLabelKey | string | nil | Custom instance label key |
| config.webhook.bitbucketSecret | string | nil | BitBucket incoming webhook secret |
| config.webhook.githubSecret | string | nil | GitHub incoming webhook secret |
| config.webhook.gitlabSecret | string | nil | GitLab incoming webhook secret |
| dexServer.containerPortGrpc | int | 5557 | Container port for Dex Server GRPC |
| dexServer.containerPortHttp | int | 5556 | Container port for Dex Server HTTP |
| dexServer.image.pullPolicy | string | "Always" | Docker image pull policy |
| dexServer.image.repository | string | "quay.io/dexidp/dex" | Docker image repo |
| dexServer.image.tag | string | "v2.12.0" | Docker image tag |
| dexServer.initImage.pullPolicy | string | "Always" | Docker image pull policy |
| dexServer.initImage.repository | string | "argoproj/argocd" | Docker image repo |
| dexServer.initImage.tag | string | "v1.2.0" | Docker image tag |
| dexServer.servicePortGrpc | int | 5557 | Service port for Dex Server GRPC |
| dexServer.servicePortHttp | int | 5556 | Service port for Dex Server GRPC |
| dexServer.volumeMounts | list | [] | Additional volume mounts |
| dexServer.volumes | list | [] | Additional volumes |
| ingress.additionalHosts | list | [] | Ingress additional hosts |
| ingress.annotations | object | {} | 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.enabled | bool | false | Enable ingress |
| rbac.policyCsv | string | nil | RBAC 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartargo-cd is pinned at v0.5.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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