-
Notifications
You must be signed in to change notification settings - Fork 2
/
application-set.yaml
64 lines (64 loc) · 1.76 KB
/
application-set.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: cluster-apps
spec:
generators:
- git:
repoURL: https://github.com/dirtycajunrice/gitops.git
revision: HEAD
files:
- path: "cluster-apps/**/gen-config.json"
- git:
repoURL: https://github.com/dirtycajunrice/gitops.git
revision: HEAD
files:
- path: "cluster-apps/**/gen-config2.json"
template:
metadata: {}
spec:
destination: {}
project: cluster-apps
source:
repoURL: https://github.com/dirtycajunrice/gitops.git
helm:
valueFiles:
- '../values.yaml'
- 'values.yaml'
- '{{ valueFile }}'
syncPolicy:
preserveResourcesOnDeletion: true
template:
metadata:
name: '{{ name }}'
annotations:
argocd.argoproj.io/manifest-generate-paths: '/{{ folderPath }}'
spec:
project: cluster-apps
source:
path: '{{ folderPath }}'
targetRevision: HEAD
repoURL: https://github.com/dirtycajunrice/gitops.git
helm:
valueFiles:
- values.yaml
- '{{ valueFile }}'
destination:
namespace: '{{ namespace }}'
name: '{{ cluster }}'
syncPolicy:
# automated: {}
syncOptions:
- ApplyOutOfSyncOnly=true
ignoreDifferences:
- group: ""
kind: Secret
name: kubedb-apiserver-cert
jsonPointers:
- /data
- group: apps
kind: Deployment
name: kubedb
namespace: databases
jsonPointers:
- /spec/template/metadata/annotations/checksum~1apiregistration.yaml