github.com/argoproj/argo-cd@v1.8.7/docs/user-guide/build-environment.md (about)

     1  # Build Environment
     2  
     3  > v1.4
     4  
     5  [Custom tools](config-management-plugins.md), [Helm](helm.md), and [Jsonnet](jsonnet.md) support the following build env vars:
     6  
     7  * `ARGOCD_APP_NAME` - name of application
     8  * `ARGOCD_APP_NAMESPACE` - destination application namespace.
     9  * `ARGOCD_APP_REVISION` - the resolved revision, e.g. `f913b6cbf58aa5ae5ca1f8a2b149477aebcbd9d8`
    10  * `ARGOCD_APP_SOURCE_PATH` - the path of the app within the repo
    11  * `ARGOCD_APP_SOURCE_REPO_URL` the repo's URL
    12  * `ARGOCD_APP_SOURCE_TARGET_REVISION` - the target revision from the spec, e.g. `master`.
    13  * `KUBE_VERSION` - the version of kubernetes
    14  * `KUBE_API_VERSIONS` = the version of kubernetes API