argo-cd

by Argo Project

Helm chartv10.20.0App v3.6.3

A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.

About this chart

Argo CD Chart

A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.

Source code can be found here:

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 Argo CD releases.

If you want to avoid including sensitive information unencrypted (clear text) in your version control, make use of the [declarative setup] of Argo CD. For instance, rather than adding repositories and their keys in your Helm values, you could deploy SealedSecrets with contents as seen in this repositories section or any other secrets manager service (i.e. HashiCorp Vault, AWS/GCP Secrets Manager, etc.).

High Availability

This chart installs the non-HA version of Argo CD by default. If you want to run Argo CD in HA mode, you can use one of the example values in the next sections. Please also have a look into the upstream Operator Manual regarding High Availability to understand how scaling of Argo CD works in detail.

Warning: You need at least 3 worker nodes as the HA mode of redis enforces Pods to run on separate nodes.

HA mode with autoscaling

redis-ha:
  enabled: true

controller:
  replicas: 1

server:
  autoscaling:
    enabled: true
    minReplicas: 2

repoServer:
  autoscaling:
    enabled: true
    minReplicas: 2

applicationSet:
  replicas: 2

HA mode without autoscaling

redis-ha:
  enabled: true

controller:
  replicas: 1

server:
  replicas: 2

repoServer:
  replicas: 2

applicationSet:
  replicas: 2

Argo CD Core

Argo CD Core is a headless installation without the API server, the UI, Dex and the notifications controller. It runs the same workloads as the upstream core-install.yaml manifest: application controller, repo server, Redis and ApplicationSet controller.

server:
  enabled: false

dex:
  enabled: false

notifications:
  enabled: false

Without the API server, use the CLI in core mode (argocd login --core) or argocd admin commands, with direct access to the Kubernetes API.

Switching an existing release to server.enabled: false deletes the server Deployment, Services, Ingress or Routes and certificates. Shared resources such as argocd-secret and the ConfigMaps are kept.

Redis TLS

With redis.tls, the single node Redis serves TLS only. The Argo CD server, repo server and application controller then connect to it with --redis-use-tls, and verify its certificate with the CA stored in the same Secret under redis.tls.caCertFile, or with the system CAs when caCertFile is empty. The Secret's keys default to those of a kubernetes.io/tls Secret (tls.crt, tls.key, ca.crt); certFile, keyFile and caCertFile rename them, as in the tls values of redis-ha. The certificate must name the Redis Service, argocd-redis for a release named argocd. For example, with a cert-manager CA issuer:

redis:
  tls:
    enabled: true
    secretName: argocd-redis-tls

extraObjects:
  - apiVersion: cert-manager.io/v1
    kind: Certificate
    metadata:
      name: argocd-redis
    spec:
      secretName: argocd-redis-tls
      dnsNames:
        - argocd-redis
        - argocd-redis.argocd.svc
      issuerRef:
        kind: ClusterIssuer
        name: my-ca-issuer

Redis reads its certificate when it starts, so restart it after a renewal, for example with Reloader. redis.tls does not apply to redis-ha or to an external Redis.

Extra objects

extraObjects takes a list or a map. A list is enough when all objects are in one values file:

extraObjects:
  - apiVersion: v1
    kind: ConfigMap
    metadata:
      name: my-config
    data:
      key: value

With a map, each values file can add its own objects, because Helm merges maps but replaces lists. For example, plain manifests in values.yaml and a Secret in an encrypted secrets.yaml:

# values.yaml
extraObjects:
  argocd-network-policy:
    apiVersion: networking.k8s.io/v1
    kind: NetworkPolicy
    metadata:
      name: argocd
    spec:
      podSelector: {}
      policyTypes: [Ingress]
      ingress:
        - from:
            - podSelector: {}
# secrets.yaml
extraObjects:
  repo-credentials:
    apiVersion: v1
    kind: Secret
    metadata:
      name: repo-credentials
      labels:
        argocd.argoproj.io/secret-type: repository
    stringData:
      url: https://github.com/example/repo.git
      password: my-token

The map keys are only names. Use a unique key for each object.

Ingress configuration

Please refer to the Operator Manual for details as the samples below correspond to their respective sections.

SSL-Passthrough

The tls: true option will expect that the argocd-server-tls secret exists as Argo CD server loads TLS certificates from this place.

global:
  domain: argocd.example.com

certificate:
  enabled: true

server:
  ingress:
    enabled: true
    ingressClassName: nginx
    annotations:
      nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
      nginx.ingress.kubernetes.io/ssl-passthrough: "true"
    tls: true

SSL Termination at Ingress Controller

global:
  domain: argocd.example.com

configs:
  params:
    server.insecure: true

server:
  ingress:
    enabled: true
    ingressClassName: nginx
    annotations:
      nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
      nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
    extraTls:
      - hosts:
        - argocd.example.com
        # Based on the ingress controller used secret might be optional
        secretName: wildcard-tls

Note: If you don't plan on using a wildcard certificate it's also possible to use tls: true without extraTls section.

Multiple ingress resources for gRPC protocol support

Use ingressGrpc section if your ingress controller supports only a single protocol per Ingress resource (i.e.: Contour).

global:
  domain: argocd.example.com

configs:
  params:
    server.insecure: true

server:
  ingress:
    enabled: true
    ingressClassName: contour-internal
    extraTls:
      - hosts:
        - argocd.example.com
        secretName: wildcard-tls

   ingressGrpc:
     enabled: true
     ingressClassName: contour-internal
     extraTls:
      - hosts:
        - grpc.argocd.example.com
        secretName: wildcard-tls

Multiple ingress domains

global:
  domain: argocd.example.com

server:
  ingress:
    enabled: true
    ingressClassName: nginx
    annotations:
      cert-manager.io/cluster-issuer: "<my-issuer>"
      nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
    tls: true
    extraHosts:
      - name: argocd-alias.example.com
        path: /

AWS Application Load Balancer

Refer to the Operator Manual for AWS Application Load Balancer mode. The provided example assumes you are using TLS off-loading via AWS ACM service.

Note: Using controller: aws creates additional service for gRPC traffic and it's no longer need to use ingressGrpc configuration section.

global:
  domain: argocd.example.com

configs:
  params:
    server.insecure: true

server:
  ingress:
    enabled: true
    controller: aws
    ingressClassName: alb
    annotations:
      alb.ingress.kubernetes.io/scheme: internal
      alb.ingress.kubernetes.io/target-type: ip
      alb.ingress.kubernetes.io/backend-protocol: HTTP
      alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}, {"HTTPS":443}]'
      alb.ingress.kubernetes.io/ssl-redirect: '443'
    aws:
      serviceType: ClusterIP # <- Used with target-type: ip
      backendProtocolVersion: GRPC

GKE Application Load Balancer

The implementation will populate ingressClassName, networking.gke.io/managed-certificates and networking.gke.io/v1beta1.FrontendConfig annotations automatically if you provide configuration for GKE resources.

global:
  domain: argocd.example.com

configs:
  params:
    server.insecure: true

server:
  service:
    annotations:
      cloud.google.com/neg: '{"ingress": true}'
      cloud.google.com/backend-config: '{"ports": {"http":"argocd-server"}}'

  ingress:
    enabled: true
    controller: gke
    gke:
      backendConfig:
        healthCheck:
          checkIntervalSec: 30
          timeoutSec: 5
          healthyThreshold: 1
          unhealthyThreshold: 2
          type: HTTP
          requestPath: /healthz
          port: 8080
      frontendConfig:
        redirectToHttps:
          enabled: true 
      managedCertificate:
        enabled: true

AKS Application Routing (generic)

AKS Web Application Routing uses the standard Kubernetes Ingress specification, so the generic controller type is sufficient. webapprouting provides a managed ingress controller based on nginx.

global: 
  domain: argocd.example.com 
 
configs: 
  params: 
    server.insecure: true 
 
server: 
  ingress: 
    enabled: true 
    controller: generic 
    ingressClassName: webapprouting.kubernetes.azure.com 
    annotations: 
      # Optional: Add any AKS-specific annotations if needed 
    extraTls: 
      - hosts: 
          - argocd.example.com 
        # Certificate can be managed by Web Application Routing 
        secretName: argocd-tls

Gateway API HTTPRoute

The Gateway API provides a modern, extensible way to configure ingress traffic routing. This chart supports HTTPRoute resources as an alternative to traditional Ingress.

Note: Gateway API support is EXPERIMENTAL. Support depends on your Gateway controller implementation. Some controllers may require additional configuration (e.g., BackendTLSPolicy for HTTPS backends). Refer to Gateway API implementations for controller-specific details.

global:
  domain: argocd.example.com

server:
  httproute:
    enabled: true
    parentRefs:
      - name: example-gateway
        namespace: gateway-system
        sectionName: https

Gateway API with gRPC support

For deployments requiring gRPC routing, use GRPCRoute alongside HTTPRoute:

server:
  httproute:
    enabled: true
    parentRefs:
      - name: example-gateway
        namespace: gateway-system
        sectionName: https

  grpcroute:
    enabled: true
    parentRefs:
      - name: example-gateway
        namespace: gateway-system
        sectionName: grpc

When the Argo CD server runs in insecure mode (server.insecure: true), it serves the web UI (HTTP/1.1 only) and gRPC (HTTP/2 only) on the same container port. appProtocol is single-valued per Service port, so the http port cannot describe both protocols. Per GEP-1911 implementations only may infer the backend protocol from the route type, so gRPC works on some Gateway controllers and not others. Set server.service.servicePortHttp2 to expose an additional Service port, and server.service.servicePortHttp2AppProtocol to declare its protocol explicitly. The GRPCRoute then targets that port, while the HTTPRoute keeps using the http port:

configs:
  params:
    server.insecure: true

server:
  service:
    servicePortHttp2: 8080
    servicePortHttp2AppProtocol: kubernetes.io/h2c

  httproute:
    enabled: true
    parentRefs:
      - name: example-gateway
        namespace: gateway-system

  grpcroute:
    enabled: true
    parentRefs:
      - name: example-gateway
        namespace: gateway-system
        sectionName: grpc

Note: The kubernetes.io/h2c application protocol is defined by KEP-3726, and not every implementation uses it — Istio, for example, expects http2 or grpc, and can also select the protocol from servicePortHttp2Name alone. Set servicePortHttp2AppProtocol to whatever your controller understands. The port is only rendered in insecure mode, since h2c does not apply to a TLS backend.

Gateway API with TLS backend

For HTTPS backends with Gateway API, you may need to configure BackendTLSPolicy:

Warning: BackendTLSPolicy is in EXPERIMENTAL status. Not all Gateway controllers support this resource (e.g., Cilium does not yet support it).

configs:
  params:
    server.insecure: false  # HTTPS backend

server:
  httproute:
    enabled: true
    parentRefs:
      - name: example-gateway
        namespace: gateway-system

  backendTLSPolicy:
    enabled: true
    hostname: argocd-server.argocd.svc.cluster.local
    wellKnownCACertificates: System

Gateway API ListenerSet

Use ListenerSet to attach listeners to an existing shared Gateway. This is useful when you want to contribute listeners to a Gateway managed by another team or namespace.

Note: ListenerSet support is EXPERIMENTAL. Requires Gateway API v1.5+ and a controller that supports ListenerSet. Refer to Gateway API implementations for controller-specific details.

Only parentRef (pointing to the

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 v10.20.0 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