Add whoami as a second real app (docs/08 hands-on exercise)

This commit is contained in:
2026-09-03 03:52:11 +01:00
parent 574d3032db
commit f5cb20ad6b
5 changed files with 82 additions and 1 deletions
+28
View File
@@ -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