-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbootstrap.yaml
More file actions
35 lines (35 loc) · 979 Bytes
/
Copy pathbootstrap.yaml
File metadata and controls
35 lines (35 loc) · 979 Bytes
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
33
34
35
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bootstrap
annotations:
argocd.argoproj.io/manifest-generate-paths: .
argocd.argoproj.io/sync-options: Prune=false
argocd.argoproj.io/compare-options: IgnoreExtraneous
labels:
argocd.argoproj.io/category: sync
spec:
destination:
namespace: argocd
name: in-cluster
project: application-sync
source:
path: bootstrap/sync/
repoURL: https://github.com/agaudreault/gitops-tests
targetRevision: main
directory:
recurse: true
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- FailOnSharedResource=true
- ApplyOutOfSyncOnly=false
- RespectIgnoreDifferences=true
ignoreDifferences:
- group: argoproj.io
kind: Application
jsonPointers:
- /spec/source/targetRevision ## Allow to change revision to another branch in the UI
- /spec/syncPolicy ## Allow to disable sync in the UI