Skip to content

Instantly share code, notes, and snippets.

@doytsujin
Forked from kusznerr/root-app.yaml
Created March 15, 2022 14:42
Show Gist options
  • Save doytsujin/3d6f09f7f4f60ac4b316a2660dad7872 to your computer and use it in GitHub Desktop.
Save doytsujin/3d6f09f7f4f60ac4b316a2660dad7872 to your computer and use it in GitHub Desktop.
Sample root application for ArgoCD to enable app-of-apps pattern
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root-app
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: argocd
server: https://kubernetes.default.svc
project: default
source:
path: apps/wabbit-rk5-gke/
repoURL: https://github.com/kusznerr/sample-gke-argo-apps
targetRevision: HEAD
syncPolicy:
automated:
prune: true
selfHeal: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment