Sample-ArgoCD-App.yaml

sample-argocd-app.yaml

# Apply AFTER Argo CD is running:  kubectl apply -f sample-argocd-app.yaml

# Deploys Argo's public example "guestbook" app into the default namespace.

apiVersion: argoproj.io/v1alpha1

kind: Application

metadata:

  name: guestbook

  namespace: argocd

spec:

  project: default

  source:

    repoURL: https://github.com/argoproj/argocd-example-apps.git

    targetRevision: HEAD

    path: guestbook

  destination:

    server: https://kubernetes.default.svc

    namespace: default

  syncPolicy:

    automated:

      prune: true

      selfHeal: true