Autopilot Bootstrap
This commit is contained in:
parent
969010d870
commit
cedc266f72
9 changed files with 203 additions and 0 deletions
21
projects/README.md
Normal file
21
projects/README.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# 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:
|
||||
```bash
|
||||
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:
|
||||
```bash
|
||||
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.
|
Loading…
Add table
Add a link
Reference in a new issue