mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
docs: added environment variables documentation (#8680)
* added environment variables page Signed-off-by: Hari Sekhon <harisekhon@gmail.com> * added Environment Variables page to User Guide Signed-off-by: Hari Sekhon <harisekhon@gmail.com> * reformatted table cells as multiline for clarity Signed-off-by: Hari Sekhon <harisekhon@gmail.com> * fixed typo Co-authored-by: Michael Crenshaw <michael@crenshaw.dev>
This commit is contained in:
parent
d48c8080d0
commit
d4c277bcc8
2 changed files with 10 additions and 0 deletions
9
docs/user-guide/environment-variables.md
Normal file
9
docs/user-guide/environment-variables.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Environment Variables
|
||||
|
||||
The following environment variables can be used with `argocd` CLI:
|
||||
|
||||
| Environment Variable | Description |
|
||||
| --- | --- |
|
||||
| `ARGOCD_SERVER` | the address of the ArgoCD server without `https://` prefix <br> (instead of specifying `--server` for every command) <br> eg. `ARGOCD_SERVER=argocd.mycompany.com` if served through an ingress with DNS |
|
||||
| `ARGOCD_AUTH_TOKEN` | the ArgoCD `apiKey` for your ArgoCD user to be able to authenticate |
|
||||
| `ARGOCD_OPTS` | command-line options to pass to `argocd` CLI <br> eg. `ARGOCD_OPTS="--grpc-web"` |
|
||||
|
|
@ -129,6 +129,7 @@ nav:
|
|||
- user-guide/compare-options.md
|
||||
- user-guide/sync-options.md
|
||||
- user-guide/parameters.md
|
||||
- user-guide/environment-variables.md
|
||||
- user-guide/build-environment.md
|
||||
- user-guide/tracking_strategies.md
|
||||
- user-guide/resource_tracking.md
|
||||
|
|
|
|||
Loading…
Reference in a new issue