-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathcluster-resources.yaml
51 lines (51 loc) · 1.23 KB
/
cluster-resources.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
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
creationTimestamp: null
name: cluster-resources
namespace: argocd
spec:
generators:
- git:
files:
- path: bootstrap/cluster-resources/*.json
repoURL: https://github.com/devxp-tech/gitops.git
requeueAfterSeconds: 20
revision: ""
template:
metadata: {}
spec:
destination: {}
project: ""
source:
repoURL: ""
syncPolicy:
preserveResourcesOnDeletion: true
template:
metadata:
labels:
app.kubernetes.io/managed-by: argocd-autopilot
app.kubernetes.io/name: cluster-resources-{{name}}
name: cluster-resources-{{name}}
namespace: argocd
spec:
destination:
server: '{{server}}'
ignoreDifferences:
- group: argoproj.io
jsonPointers:
- /status
kind: Application
project: default
source:
path: bootstrap/cluster-resources/{{name}}
repoURL: https://github.com/devxp-tech/gitops.git
directory:
recurse: true
syncPolicy:
automated:
allowEmpty: true
selfHeal: true
status: {}