argo-cd

by joaquinito2051

Helm chartv4.2.0App 2.4.12

Argo CD is a continuous delivery tool for Kubernetes based on GitOps.

About this chart

Argo CD packaged by Bitnami

Argo CD is a continuous delivery tool for Kubernetes based on GitOps.

Overview of Argo CD

Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
$ helm install my-release bitnami-azure/argo-cd

Introduction

This chart bootstraps an Argo CD deployment on a Kubernetes cluster using the Helm package manager.

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure
  • ReadWriteMany volumes for deployment scaling

Installing the Chart

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

helm install my-release bitnami-azure/argo-cd

The command deploys argo-cd on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainKubernetes cluster domain namecluster.local
extraDeployArray of extra objects to deploy with the release[]

Argo CD image parameters

NameDescriptionValue
image.registryArgo CD image registrydocker.io
image.repositoryArgo CD image repositorybitnami/argo-cd
image.tagArgo CD image tag (immutable tags are recommended)2.4.12-debian-11-r0
image.digestArgo CD image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyArgo CD image pull policyIfNotPresent
image.pullSecretsArgo CD image pull secrets[]
image.debugEnable Argo CD image debug modefalse

Argo CD application controller parameters

NameDescriptionValue
controller.replicaCountNumber of Argo CD replicas to deploy1
controller.startupProbe.enabledEnable startupProbe on Argo CD nodesfalse
controller.startupProbe.initialDelaySecondsInitial delay seconds for startupProbe10
controller.startupProbe.periodSecondsPeriod seconds for startupProbe10
controller.startupProbe.timeoutSecondsTimeout seconds for startupProbe1
controller.startupProbe.failureThresholdFailure threshold for startupProbe3
controller.startupProbe.successThresholdSuccess threshold for startupProbe1
controller.livenessProbe.enabledEnable livenessProbe on Argo CD nodestrue
controller.livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe10
controller.livenessProbe.periodSecondsPeriod seconds for livenessProbe10
controller.livenessProbe.timeoutSecondsTimeout seconds for livenessProbe1
controller.livenessProbe.failureThresholdFailure threshold for livenessProbe3
controller.livenessProbe.successThresholdSuccess threshold for livenessProbe1
controller.readinessProbe.enabledEnable readinessProbe on Argo CD nodestrue
controller.readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe10
controller.readinessProbe.periodSecondsPeriod seconds for readinessProbe10
controller.readinessProbe.timeoutSecondsTimeout seconds for readinessProbe1
controller.readinessProbe.failureThresholdFailure threshold for readinessProbe3
controller.readinessProbe.successThresholdSuccess threshold for readinessProbe1
controller.customStartupProbeCustom startupProbe that overrides the default one{}
controller.customLivenessProbeCustom livenessProbe that overrides the default one{}
controller.customReadinessProbeCustom readinessProbe that overrides the default one{}
controller.resources.limitsThe resources limits for the Argo CD containers{}
controller.resources.requestsThe requested resources for the Argo CD containers{}
controller.podSecurityContext.enabledEnabled Argo CD pods' Security Contexttrue
controller.podSecurityContext.fsGroupSet Argo CD pod's Security Context fsGroup1001
controller.containerSecurityContext.enabledEnabled Argo CD containers' Security Contexttrue
controller.containerSecurityContext.runAsUserSet Argo CD containers' Security Context runAsUser1001
controller.containerSecurityContext.allowPrivilegeEscalationSet Argo CD containers' Security Context allowPrivilegeEscalationfalse
controller.containerSecurityContext.capabilities.dropSet Argo CD containers' Security Context capabilities to be dropped["all"]
controller.containerSecurityContext.readOnlyRootFilesystemSet Argo CD containers' Security Context readOnlyRootFilesystemfalse
controller.containerSecurityContext.runAsNonRootSet Argo CD container's Security Context runAsNonRoottrue
controller.serviceAccount.createSpecifies whether a ServiceAccount should be createdtrue
controller.serviceAccount.nameThe name of the ServiceAccount to use.""
controller.serviceAccount.automountServiceAccountTokenAutomount service account token for the application controller service accounttrue
controller.serviceAccount.annotationsAnnotations for service account. Evaluated as a template. Only used if create is true.{}
controller.clusterAdminAccessEnable K8s cluster admin access for the application controllertrue
controller.clusterRoleRulesUse custom rules for the application controller's cluster role[]
controller.logFormatFormat for the Argo CD application controller logs. Options: [text, json]text
controller.logLevelLog level for the Argo CD application controllerinfo
controller.containerPorts.controllerArgo CD application controller port number8082
controller.containerPorts.metricsArgo CD application controller metrics port number8082
controller.service.typeArgo CD service typeClusterIP
controller.service.portArgo CD application controller service port8082
controller.service.nodePortNode port for Argo CD application controller service""
controller.service.clusterIPArgo CD application controller service Cluster IP""
controller.service.loadBalancerIPArgo CD application controller service Load Balancer IP""
`controller.service.loadBalance

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 v4.2.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