Add whoami as a second real app (docs/08 hands-on exercise)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# This is an Argo CD "Application" — see apps/demo.yaml for the full
|
||||
# explanation of what this resource is and why you never apply it by hand.
|
||||
# This one is the docs/08-adding-new-apps.md hands-on exercise: a second,
|
||||
# independent app added the normal way, proving the app-of-apps pattern
|
||||
# works for more than the pre-installed apps.
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: whoami
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
|
||||
source:
|
||||
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
||||
targetRevision: main
|
||||
path: apps/whoami
|
||||
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: whoami
|
||||
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user