-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from codefresh-io/fix_docs
doc fixes
- Loading branch information
Showing
15 changed files
with
161 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
coverage: | ||
status: | ||
patch: off | ||
project: | ||
default: | ||
# allow test coverage to drop by 2% | ||
threshold: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Kustomizations | ||
This directory contains all of the applications you installed by using: | ||
```bash | ||
argocd-autopilot app create <APP_NAME> --app <APP_SPECIFIER> -p <PROJECT_NAME> | ||
``` | ||
|
||
Every application you install has <u>exactly one</u>: `kustomize/<APP_NAME>/base/kustomization.yaml` and one or more `kustomize/<APP_NAME>/overlays/<PROJECT_NAME>/kustomization.yaml` files. | ||
|
||
The `kustomize/<APP_NAME>/base/kustomization.yaml` file is created the first time you create the application. The `kustomize/<APP_NAME>/overlays/<PROJECT_NAME>/kustomization.yaml` is created for each project you install this application on. So all overlays of the same application are using the same base `kustomization.yaml`. | ||
|
||
## Example: | ||
Try running the following command: | ||
```bash | ||
argocd-autopilot app create hello-world --app github.com/argoproj-labs/argocd-autopilot/examples/demo-app/ -p <PROJECT_NAME> | ||
``` | ||
###### * If you did not create a project yet take a look at: [creating a project](https://argocd-autopilot.readthedocs.io/en/stable/Getting-Started/#add-a-project-and-an-application). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Projects | ||
This directory contains all of your `argocd-autopilot` projects. Projects provide a way to logically group applications and easily contol 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.