Skip to content

argocd-repo-server Command Reference

argocd-repo-server

Run ArgoCD Repository Server

Synopsis

ArgoCD Repository Server is an internal service which maintains a local cache of the Git repository holding the application manifests, and is responsible for generating and returning the Kubernetes manifests. This command runs Repository Server in the foreground. It can be configured by following options.

argocd-repo-server [flags]

Options

      --address string                                          Listen on given address for incoming connections (default "0.0.0.0")
      --allow-oob-symlinks[=true|false]                         Allow out-of-bounds symlinks in repositories (not recommended)
      --client-ca-path string                                   Path to the client CA certificate file for mTLS. Defaults to the auto-mounted Secret path; mTLS is skipped if the file does not exist. (default "/app/config/reposerver/mtls/client-ca.crt")
      --default-cache-expiration duration                       Cache expiration default (default 24h0m0s)
      --disable-helm-manifest-max-extracted-size[=true|false]   Disable maximum size of helm manifest archives when extracted
      --disable-oci-manifest-max-extracted-size[=true|false]    Disable maximum size of oci manifest archives when extracted
      --disable-tls[=true|false]                                Disable TLS for the repo-server gRPC endpoint
      --enable-builtin-git-config[=true|false]                  Enable builtin git configuration options that are required for correct argocd-repo-server operation. (default true)
      --git-ls-remote-optimized[=true|false]                    Enable native Git protocol v2 ref resolution with server-side HEAD, branch, and tag narrowing.
      --helm-manifest-max-extracted-size string                 Maximum size of helm manifest archives when extracted (default "1G")
      --helm-registry-max-index-size string                     Maximum size of registry index file (default "1G")
  -h, --help[=true|false]                                       help for argocd-repo-server
      --include-hidden-directories[=true|false]                 Include hidden directories from Git
      --logformat string                                        Set the logging format. One of: json|text (default "json")
      --loglevel string                                         Set the logging level. One of: debug|info|warn|error (default "info")
      --max-combined-directory-manifests-size string            Max combined size of manifest files in a directory-type Application (default "10M")
      --metrics-address string                                  Listen on given address for metrics (default "0.0.0.0")
      --metrics-port int                                        Start metrics server on given port (default 8084)
      --oci-layer-media-types strings                           Comma separated list of allowed media types for OCI media types. This only accounts for media types within layers. (default [application/vnd.oci.image.layer.v1.tar,application/vnd.oci.image.layer.v1.tar+gzip,application/vnd.cncf.helm.chart.content.v1.tar+gzip])
      --oci-manifest-max-extracted-size string                  Maximum size of oci manifest archives when extracted (default "1G")
      --otlp-address string                                     OpenTelemetry collector address to send traces to
      --otlp-attrs strings                                      List of OpenTelemetry collector extra attrs when send traces, each attribute is separated by a colon(e.g. key:value)
      --otlp-headers stringToString                             List of OpenTelemetry collector extra headers sent with traces, headers are comma-separated key-value pairs(e.g. key1=value1,key2=value2) (default [])
      --otlp-insecure[=true|false]                              OpenTelemetry collector insecure mode (default true)
      --otlp-metrics-enabled[=true|false]                       Push the Prometheus metrics to the OpenTelemetry collector at --otlp-address
      --otlp-metrics-interval duration                          Interval at which Prometheus metrics are pushed to the OpenTelemetry collector (default 30s)
      --otlp-sample-ratio float                                 Fraction of traces to sample, from 0.0 (none) to 1.0 (all). Parent-based, so downstream services honor the upstream sampling decision (default 1)
      --parallelismlimit int                                    Limit on number of concurrent manifests generate requests. Any value less the 1 means no limit.
      --plugin-tar-exclude stringArray                          Globs to filter when sending tarballs to plugins.
      --plugin-use-manifest-generate-paths[=true|false]         Pass the resources described in argocd.argoproj.io/manifest-generate-paths value to the cmpserver to generate the application manifests.
      --port int                                                Listen on given port for incoming connections (default 8081)
      --redis string                                            Redis server hostname and port (e.g. argocd-redis:6379). 
      --redis-ca-certificate string                             Path to Redis server CA certificate (e.g. /etc/certs/redis/ca.crt). If not specified, system trusted CAs will be used for server certificate validation.
      --redis-client-certificate string                         Path to Redis client certificate (e.g. /etc/certs/redis/client.crt).
      --redis-client-key string                                 Path to Redis client key (e.g. /etc/certs/redis/client.crt).
      --redis-compress string                                   Enable compression for data sent to Redis with the required compression algorithm. (possible values: gzip, none) (default "gzip")
      --redis-insecure-skip-tls-verify[=true|false]             Skip Redis server certificate validation.
      --redis-use-tls[=true|false]                              Use TLS when connecting to Redis. 
      --redisdb int                                             Redis database.
      --repo-cache-expiration duration                          Cache expiration for repo state, incl. app lists, app details, manifest generation, revision meta-data (default 24h0m0s)
      --revision-cache-expiration duration                      Cache expiration for cached revision (default 3m0s)
      --revision-cache-lock-timeout duration                    Cache TTL for locks to prevent duplicate requests on revisions, set to 0 to disable (default 10s)
      --sentinel stringArray                                    Redis sentinel hostname and port (e.g. argocd-redis-ha-announce-0:6379). 
      --sentinelmaster string                                   Redis sentinel master group name. (default "master")
      --streamed-manifest-max-extracted-size string             Maximum size of streamed manifest archives when extracted (default "1G")
      --streamed-manifest-max-tar-size string                   Maximum size of streamed manifest archives (default "100M")
      --tlsciphers string                                       The list of acceptable ciphers to be used when establishing TLS connections. Use 'list' to list available ciphers. (default "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384")
      --tlscurvepreferences string                              Colon-separated list of TLS curve preferences to be used when establishing TLS connections (e.g. X25519:CurveP256).
      --tlsmaxversion string                                    The maximum SSL/TLS version that is acceptable (one of: 1.0|1.1|1.2|1.3) (default "1.3")
      --tlsminversion string                                    The minimum SSL/TLS version that is acceptable (one of: 1.0|1.1|1.2|1.3) (default "1.2")