argo/projects
2024-10-16 18:41:07 -04:00
..
games.yaml chore(projects): manage ttrpg namespace in games project 2024-02-02 21:24:42 -05:00
media.yaml
prod-sites.yaml feat(portfolio): add staging environment 2024-10-16 18:41:07 -04:00
README.md
staging-sites.yaml feat(portfolio): add staging environment 2024-10-16 18:41:07 -04:00
system.yaml chore(system): disable auto sync for project 2024-08-28 14:38:45 -04:00
work.yaml chore(kavita): combine and rename manifest files 2024-09-19 14:16:39 -04:00

Projects

This directory contains all of your argocd-autopilot projects. Projects provide a way to logically group applications and easily control things such as defaults and restrictions.

Creating a new project

To create a new project run:

export GIT_TOKEN=<YOUR_TOKEN>
export GIT_REPO=<REPO_URL>

argocd-autopilot project create <PROJECT_NAME>

Creating a new project on different cluster

You can create a project that deploys applications to a different cluster, instead of the cluster where Argo-CD is installed. To do that run:

export GIT_TOKEN=<YOUR_TOKEN>
export GIT_REPO=<REPO_URL>

argocd-autopilot project create <PROJECT_NAME> --dest-kube-context <CONTEXT_NAME>

Now all applications in this project that do not explicitly specify a different --dest-server will be created on the project's destination server.