Create Codefresh-exercises.md

This commit is contained in:
Lajos Papp 2022-12-08 13:25:04 -08:00 committed by GitHub
parent 53e28ff20c
commit ff544464a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

37
Codefresh-exercises.md Normal file
View File

@ -0,0 +1,37 @@
here are my codfresh exercise notes
## App of Apps
```
. <(argocd completion bash)
argocd app create my-favorite-apps \
--project default \
--sync-policy none \
--repo https://github.com/lalyos/gitops-cert-level-2-examples.git \
--path ./app-of-apps/my-app-list \
--dest-namespace argocd \
--dest-server https://kubernetes.default.svc
```
## MultiCluster Deployment
```
argocd app create external-app \
--project default \
--sync-policy auto \
--repo https://github.com/lalyos/gitops-cert-level-2-examples.git \
--path ./simple-application \
--dest-namespace default \
--dest-server https://10.5.0.176:6443
```
```
argocd app create internal-app \
--project default \
--sync-policy auto \
--repo https://github.com/lalyos/gitops-cert-level-2-examples.git \
--path ./simple-application \
--dest-namespace default \
--dest-server https://kubernetes.default.svc
```