-
Notifications
You must be signed in to change notification settings - Fork 11
/
meta_application.yaml
32 lines (28 loc) · 993 Bytes
/
meta_application.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: meta-app
# You'll usually want to add your resources to the argocd namespace.
namespace: default
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/chris-vest/argocd_workshop.git
targetRevision: master
path: ./applications/
# directory
directory:
recurse: true
# Destination cluster and namespace to deploy the application
destination:
server: https://kubernetes.default.svc
namespace: default
# Sync policy
syncPolicy:
automated:
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 ).