diff --git a/app-of-apps/my-app-list/kubeview.yml b/app-of-apps/my-app-list/kubeview.yml new file mode 100644 index 0000000000..91cb797c23 --- /dev/null +++ b/app-of-apps/my-app-list/kubeview.yml @@ -0,0 +1,32 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeview + # You'll usually want to add your resources to the argocd namespace. + namespace: argocd + # Add a this finalizer ONLY if you want these to cascade delete. + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + # The project the application belongs to. + project: default + + # Source of the application manifests + source: + repoURL: https://github.com/codefresh-contrib/gitops-cert-level-2-examples.git + targetRevision: HEAD + path: ./app-of-apps/manifests + + # Destination cluster and namespace to deploy the application + destination: + server: https://kubernetes.default.svc + namespace: kubeview + + # Sync policy + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: # automated sync by default retries failed attempts 5 times with following delays between attempts ( 5s, 10s, 20s, 40s, 80s ); retry controlled using `retry` field. + prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ). + selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ). +