|
|
||
|---|---|---|
| .. | ||
| README.md | ||
README.md
Apps
This directory contains all of the applications you installed by using:
argocd-autopilot app create <APP_NAME> --app <APP_SPECIFIER> -p <PROJECT_NAME>
Application Types
If you don't specify the application
--typeargocd-autopilot will try to clone the source repository and infer the application type automatically
-
Directory application
Such an application references a specific directory at a given repo URL, path and revision. It will be persisted in the GitOps Repository as a single file at
apps/<APP_NAME>/<PROJECT_NAME>/config.json.Example:
argocd-autopilot app create dir-example --app github.com/argoproj-labs/argocd-autopilot/examples/demo-dir/ -p <PROJECT_NAME> --type dir -
Kustomize application
A Kustomize application will have exactly one:
apps/<APP_NAME>/base/kustomization.yamlfile, and one or moreapps/<APP_NAME>/overlays/<PROJECT_NAME>/folders.The
apps/<APP_NAME>/base/kustomization.yamlfile is created the first time you create the application. Theapps/<APP_NAME>/overlays/<PROJECT_NAME>/folder is created for each project you install this application on. So all overlays of the same application are using the same basekustomization.yaml.Example:
Try running the following command:
argocd-autopilot app create hello-world --app github.com/argoproj-labs/argocd-autopilot/examples/demo-app/ -p <PROJECT_NAME> --type kustomize