argocd-server Command Reference

argocd-server

Run the ArgoCD API server

Synopsis

The API server is a gRPC/REST server which exposes the API consumed by the Web UI, CLI, and CI/CD systems. This command runs API server in the foreground. It can be configured by following options.

  1. argocd-server [flags]

Options

  1. --address string Listen on given address (default "0.0.0.0")
  2. --api-content-types string Semicolon separated list of allowed content types for non GET api requests. Any content type is allowed if empty. (default "application/json")
  3. --app-state-cache-expiration duration Cache expiration for app state (default 1h0m0s)
  4. --application-namespaces strings List of additional namespaces where application resources can be managed in
  5. --as string Username to impersonate for the operation
  6. --as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
  7. --as-uid string UID to impersonate for the operation
  8. --basehref string Value for base href in index.html. Used if Argo CD is running behind reverse proxy under subpath different from / (default "/")
  9. --certificate-authority string Path to a cert file for the certificate authority
  10. --client-certificate string Path to a client certificate file for TLS
  11. --client-key string Path to a client key file for TLS
  12. --cluster string The name of the kubeconfig cluster to use
  13. --connection-status-cache-expiration duration Cache expiration for cluster/repo connection status (default 1h0m0s)
  14. --content-security-policy value Set Content-Security-Policy header in HTTP responses to value. To disable, set to "". (default "frame-ancestors 'self';")
  15. --context string The name of the kubeconfig context to use
  16. --default-cache-expiration duration Cache expiration default (default 24h0m0s)
  17. --dex-server string Dex server address (default "argocd-dex-server:5556")
  18. --dex-server-plaintext Use a plaintext client (non-TLS) to connect to dex server
  19. --dex-server-strict-tls Perform strict validation of TLS certificates when connecting to dex server
  20. --disable-auth Disable client authentication
  21. --enable-gzip Enable GZIP compression (default true)
  22. --enable-proxy-extension Enable Proxy Extension feature
  23. --gloglevel int Set the glog logging level
  24. -h, --help help for argocd-server
  25. --insecure Run server without TLS
  26. --insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
  27. --kubeconfig string Path to a kube config. Only required if out-of-cluster
  28. --logformat string Set the logging format. One of: text|json (default "text")
  29. --login-attempts-expiration duration Cache expiration for failed login attempts (default 24h0m0s)
  30. --loglevel string Set the logging level. One of: debug|info|warn|error (default "info")
  31. --metrics-address string Listen for metrics on given address (default "0.0.0.0")
  32. --metrics-port int Start metrics on given port (default 8083)
  33. -n, --namespace string If present, the namespace scope for this CLI request
  34. --oidc-cache-expiration duration Cache expiration for OIDC state (default 3m0s)
  35. --otlp-address string OpenTelemetry collector address to send traces to
  36. --otlp-attrs strings List of OpenTelemetry collector extra attrs when send traces, each attribute is separated by a colon(e.g. key:value)
  37. --password string Password for basic authentication to the API server
  38. --port int Listen on given port (default 8080)
  39. --proxy-url string If provided, this URL will be used to connect via proxy
  40. --redis string Redis server hostname and port (e.g. argocd-redis:6379).
  41. --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.
  42. --redis-client-certificate string Path to Redis client certificate (e.g. /etc/certs/redis/client.crt).
  43. --redis-client-key string Path to Redis client key (e.g. /etc/certs/redis/client.crt).
  44. --redis-compress string Enable compression for data sent to Redis with the required compression algorithm. (possible values: gzip, none) (default "gzip")
  45. --redis-insecure-skip-tls-verify Skip Redis server certificate validation.
  46. --redis-use-tls Use TLS when connecting to Redis.
  47. --redisdb int Redis database.
  48. --repo-server string Repo server address (default "argocd-repo-server:8081")
  49. --repo-server-plaintext Use a plaintext client (non-TLS) to connect to repository server
  50. --repo-server-strict-tls Perform strict validation of TLS certificates when connecting to repo server
  51. --repo-server-timeout-seconds int Repo server RPC call timeout seconds. (default 60)
  52. --request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0")
  53. --rootpath string Used if Argo CD is running behind reverse proxy under subpath different from /
  54. --sentinel stringArray Redis sentinel hostname and port (e.g. argocd-redis-ha-announce-0:6379).
  55. --sentinelmaster string Redis sentinel master group name. (default "master")
  56. --server string The address and port of the Kubernetes API server
  57. --staticassets string Directory path that contains additional static assets (default "/shared/app")
  58. --tls-server-name string If provided, this name will be used to validate server certificate. If this is not provided, hostname used to contact the server is used.
  59. --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:TLS_RSA_WITH_AES_256_GCM_SHA384")
  60. --tlsmaxversion string The maximum SSL/TLS version that is acceptable (one of: 1.0|1.1|1.2|1.3) (default "1.3")
  61. --tlsminversion string The minimum SSL/TLS version that is acceptable (one of: 1.0|1.1|1.2|1.3) (default "1.2")
  62. --token string Bearer token for authentication to the API server
  63. --user string The name of the kubeconfig user to use
  64. --username string Username for basic authentication to the API server
  65. --x-frame-options value Set X-Frame-Options header in HTTP responses to value. To disable, set to "". (default "sameorigin")

SEE ALSO