redhat-argocd-agent

by joaquinito2051

Helm chartv0.10.0App 0.10.0

RedHat Argo CD Agent for connecting managed clusters to a Principal

About this chart

argocd-agent-agent

Argo CD Agent for connecting managed clusters to a Principal

Homepage: https://github.com/argoproj-labs/argocd-agent

Maintainers

NameEmailUrl
Argo Project Maintainershttps://github.com/argoproj-labs/argocd-agent

Source Code

Requirements

Kubernetes: >=1.24.0-0

Values

KeyTypeDefaultDescription
affinityobject{}Affinity rules for the agent Pod.
agentModestring"autonomous"Agent mode of operation.
allowedNamespacesstring""Comma-separated list of additional namespaces the agent is allowed to manage applications in (used with applications in any namespace feature). Supports glob patterns (e.g., "team-,prod-").
argoCdRedisPasswordKeystring"auth"ArgoCD Redis password key.
argoCdRedisSecretNamestring"argocd-redis"ArgoCD Redis password secret name.
authstring"mtls:any"Authentication mode for connecting to the principal.
cacheRefreshIntervalstring"10s"Cache refresh interval.
createNamespaceboolfalseWhether to create target namespaces automatically when they don't exist. Used with destination-based mapping.
deploymentAnnotationsobject{}Additional annotations to add to the agent Deployment metadata (e.g. Stakater Reloader trigger annotations, which are read from workload metadata only).
destinationBasedMappingboolfalseWhether to enable destination-based mapping. When enabled, the agent creates applications in their original namespace (preserving the namespace from the principal) instead of the agent's own namespace.
dnsConfigobject{}DNS config for the Pod. Only honored when dnsPolicy is "None".
dnsPolicystring""DNS policy for the Pod (e.g. ClusterFirst, None). Empty leaves the default.
enableCompressionboolfalseWhether to enable gRPC compression.
enableResourceProxybooltrueWhether to enable resource proxy.
enableWebSocketboolfalseWhether to enable WebSocket connections.
fullnameOverridestring""Override the fully-qualified resource name (defaults to <release>-agent-helm).
healthzPortstring"8002"Healthz server port exposed by the agent.
heartbeatIntervalstring""Heartbeat interval for the gRPC Subscribe stream. See docs for details.
hostAliaseslist[]Host aliases injected into /etc/hosts of the agent Pod.
image.pullPolicystring"IfNotPresent"Image pull policy for the agent container.
image.repositorystring"ghcr.io/argoproj-labs/argocd-agent/argocd-agent"Container image repository for the agent.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Image pull secrets for private registries.
informerSyncTimeoutstring"10s"Timeout for the initial informer sync at agent startup. Increase on large clusters or when the API server is under heavy load.
keepAliveIntervalstring"50s"Keep-alive interval for connections.
labelSelectorstring""Kubernetes label selector to restrict which resources the agent watches. Only matching resources will be listed, watched, and processed.
logFormatstring"text"Log format for the agent (text or json).
logLevelstring"info"Log level for the agent.
metricsPortstring"8181"Metrics server port exposed by the agent.
nameOverridestring""Override the chart name used in app.kubernetes.io/name Also changes spec.selector.matchLabels, which is immutable — do not set after initial install unless you are prepared to delete+reinstall.
namespaceOverridestring""Override namespace to deploy the agent into. Leave empty to use the release namespace.
nodeSelectorobject{}Node selector for scheduling the agent Pod.
podAnnotationsobject{}Additional annotations to add to the agent Pod.
podLabelsobject{}Additional labels to add to the agent Pod.
podSecurityContextobject{"fsGroup":999,"fsGroupChangePolicy":"OnRootMismatch","runAsGroup":999,"runAsNonRoot":true,"runAsUser":999,"seccompProfile":{"type":"RuntimeDefault"}}Pod-level securityContext. Applied to the Pod spec.
pprofPortstring"0"Port for pprof server (0 disables pprof).
priorityClassNamestring""PriorityClassName for the agent Pod.
probesobject{"liveness":{"enabled":true,"failureThreshold":3,"httpGet":{"path":"/healthz","port":"healthz"},"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":2},"readiness":{"enabled":true,"failureThreshold":3,"httpGet":{"path":"/healthz","port":"healthz"},"initialDelaySeconds":5,"periodSeconds":10,"timeoutSeconds":2}}Liveness and readiness probe configuration.
probes.liveness.enabledbooltrueEnable the liveness probe.
probes.liveness.failureThresholdint3Failure threshold for liveness probe.
probes.liveness.initialDelaySecondsint10Initial delay before the first liveness probe.
probes.liveness.periodSecondsint10Frequency of liveness probes.
probes.liveness.timeoutSecondsint2Timeout for liveness probe.
probes.readiness.enabledbooltrueEnable the readiness probe.
probes.readiness.failureThresholdint3Failure threshold for readiness probe.
probes.readiness.initialDelaySecondsint5Initial delay before the first readiness probe.
probes.readiness.periodSecondsint10Frequency of readiness probes.
probes.readiness.timeoutSecondsint2Timeout for readiness probe.
progressDeadlineSecondsint600Time allowed for the Deployment to make progress before the controller reports failure.
rbac.createbooltrueCreate namespace-scoped Role and RoleBinding for the agent.
rbac.createClusterRolebooltrueCreate cluster-scoped ClusterRole and ClusterRoleBinding. Required for destination-based mapping, create-namespace, and resource-proxy discovery across multiple namespaces. Leave false to keep the agent strictly namespace-scoped.
redisAddressstring"argocd-redis:6379"Redis address used by the agent.
redisTLSobject{"caPath":"/app/config/redis-tls/ca.crt","enabled":false,"insecure":false,"secretName":"argocd-redis-tls"}Redis TLS configuration.
redisTLS.caPathstring"/app/config/redis-tls/ca.crt"Path to CA certificate for verifying Redis TLS certificate. This path is where the CA certificate will be mounted inside the container.
redisTLS.enabledboolfalseEnable TLS for Redis connections.
redisTLS.insecureboolfalseSkip verification of Redis TLS certificate (INSECURE - for development only).
redisTLS.secretNamestring"argocd-redis-tls"Name of the Kubernetes Secret containing the Redis TLS CA certificate. The secret should have a key 'ca.crt' containing the CA certificate in PEM format. Set to empty string to disable mounting (requires system CAs or insecure mode).
redisUsernamestring""Redis username for authentication.
replicaCountint1Number of replicas for the agent Deployment.
resourcesobject{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Resource requests and limits for the agent Pod.
revisionHistoryLimitint10Number of old ReplicaSets to retain for rollback.
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":999,"runAsNonRoot":true,"runAsUser":999,"seccompProfile":{"type":"RuntimeDefault"}}Container-level securityContext. Applied to the agent container.
serverstring"principal.server.address.com"Principal server address (hostname or host:port).
serverPortstring"443"Principal server port.
serviceobject{"healthz":{"annotations":{},"port":8002,"targetPort":8002},"metrics":{"annotations":{},"port":8181,"targetPort":8181}}Service configuration for metrics and healthz endpoints.
service.healthz.annotationsobject{}Annotations to add to the healthz Service.
service.healthz.portint8002Service port for healthz.
service.healthz.targetPortint8002Target port for healthz.
service.metrics.annotationsobject{}Annotations to add to the metrics Service.
service.metrics.portint8181Service port for metrics.
service.metrics.targetPortint8181Target port for metrics.
serviceAccountobject{"annotations":{},"automountServiceAccountToken":true,"create":true,"name":""}ServiceAccount configuration.
serviceAccount.annotationsobject{}Annotations to add to the ServiceAccount.
serviceAccount.automountServiceAccountTokenbooltrueAutomount API credentials for the Service Account
serviceAccount.createbooltrueWhether to create the ServiceAccount.
serviceAccount.namestring""Name of the ServiceAccount to use. If empty, a name is generated.
serviceMonitorobject{"additionalLabels":{},"annotations":{},"enabled":false,"honorLabels":false,"interval":"30s","metricRelabelings":[],"namespace":"","relabelings":[],"scheme":"","scrapeTimeout":"10s","tlsConfig":{}}Prometheus ServiceMonitor configuration.
serviceMonitor.additionalLabelsobject{}Prometheus ServiceMonitor labels
serviceMonitor.annotationsobject{}Prometheus ServiceMonitor annotations
serviceMonitor.enabledboolfalseWhether to create a ServiceMonitor resource.
serviceMonitor.honorLabelsboolfalseWhen true, honorLabels preserves the metric’s labels when they collide with the target’s labels.
serviceMonitor.intervalstring"30s"Prometheus scrape interval. Must be a valid duration string (e.g. "30s").
serviceMonitor.metricRelabelingslist[]Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
serviceMonitor.namespacestring""Namespace where the ServiceMonitor should be created. Defaults to release namespace.
serviceMonitor.relabelingslist[]Prometheus [RelabelConfigs] to apply to samples before scraping
serviceMonitor.schemestring""Prometheus ServiceMonitor scheme
serviceMonitor.scrapeTimeoutstring"10s"Prometheus scrape timeout. Must be a valid duration string (e.g. "10s").
serviceMonitor.tlsConfigobject{}Prometheus ServiceMonitor tlsConfig
spireobject{"authMethod":"","enabled":false,"hostSocketDir":"/run/spire/agent-sockets","mountMethod":"hostPath","socketPath":"unix:///run/spire/agent-sockets/spire-agent.sock"}SPIRE integration for automatic certificate and identity provisioning.
spire.authMethodstring""SPIFFE authentication method. Required when SPIRE is enabled. "jwt" uses JWT-SVIDs (for federated SPIRE with multiple trust domains). "mtls" uses X.509-SVIDs (for centralized SPIRE with a single trust domain).
spire.enabledboolfalseEnable SPIRE-based TLS. When enabled, TLS credentials are obtained from the SPIRE Workload API instead of static Kubernetes secrets.
spire.hostSocketDirstring"/run/spire/agent-sockets"Path to the SPIRE Agent socket directory. Used as the container mountPath and host path.
spire.mountMethodstring"hostPath"How to mount the SPIRE Agent socket into the pod. "hostPath" mounts the socket directory from the host.
terminationGracePeriodSecondsint30Grace period for Pod termination (seconds).
testsobject{"enabled":false,"image":"bitnamilegacy/kubectl","tag":"1.33.4"}Configuration for helm-chart tests.
tests.enabledboolfalseBy default, chart tests are disabled.
tests.imagestring"bitnamilegacy/kubectl"Test image.
tests.tagstring"1.33.4"Test image tag.
tlsCipherSuitesstring""Comma-separated list of TLS cipher suites. Empty uses Go defaults.
tlsClientCertPathstring""Path to the TLS client certificate.
tlsClientInSecurestring"false"Whether to skip TLS verification for client connections.
tlsClientKeyPathstring""Path to the TLS client key.
tlsInsecurePlaintextstring"false"Whether to connect to the principal without TLS
tlsMaxVersionstring""Maximum TLS version to use (tls1.1, tls1.2, tls1.3). Empty uses highest available.
tlsMinVersionstring""Minimum TLS version to use (tls1.1, tls1.2, tls1.3). Empty uses Go default.
tlsRootCAPathstring""Path to the TLS root CA certificate.
tlsRootCASecretNamestring"argocd-agent-ca"Name of the Secret containing root CA certificate.
tlsSecretNamestring"argocd-agent-client-tls"Name of the TLS Secret containing client cert/key for mTLS.
tolerationslist[]Tolerations for the agent Pod.
topologySpreadConstraintslist[]Topology spread constraints for the agent Pod.
updateStrategyobject{"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"},"type":"RollingUpdate"}Deployment update strategy (passed through as spec.strategy).
userPasswordSecretNamestring"argocd-agent-agent-userpass"Name of the Secret containing agent username/

Deploy redhat-argocd-agent with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has redhat-argocd-agent 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 chartredhat-argocd-agent is pinned at v0.10.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