Files
k8s-starter-pack/apps/whoami.yaml
T

29 lines
775 B
YAML
Raw Normal View History

# 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