-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathargocd_application_set.yaml
More file actions
85 lines (83 loc) · 2.44 KB
/
argocd_application_set.yaml
File metadata and controls
85 lines (83 loc) · 2.44 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# https://github.com/argoproj/argo-cd/issues/2789
# we cannot install argocd Helm charts with "custom" provided values.yaml stored in our Git
# as a nice workaround we use kustomize with enabled helm deployments.
# Progressive syncs alpha functionality
# https://github.com/argoproj/argo-cd/issues/11924
# https://github.com/argoproj/argo-cd/issues/12459
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: extensions
namespace: argocd
spec:
generators:
- git:
repoURL: git@github.com:kevinetore/k3s-cluster.git
revision: HEAD
directories:
- path: core/*
- path: extensions/*
- path: extensions/mongodb
exclude: true
strategy:
type: RollingSync
rollingSync:
steps:
- matchExpressions:
- key: type
operator: In
values:
- core
- matchExpressions:
- key: type
operator: In
values:
- extensions
template:
metadata:
name: "{{path.basename}}"
labels:
type: "{{path[0]}}"
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: "{{path.basename}}"
syncPolicy:
syncOptions:
- ServerSideApply=true
automated:
prune: true
selfHeal: true
ignoreDifferences:
- group: ""
kind: Service
name: longhorn-frontend
jsonPointers:
- /spec/ports/0/nodePort
- group: "apiextensions.k8s.io"
kind: CustomResourceDefinition
name: bgppeers.metallb.io
jsonPointers:
- /spec/conversion/webhook/clientConfig/caBundle
- group: "apiextensions.k8s.io"
kind: CustomResourceDefinition
name: addresspools.metallb.io
jsonPointers:
- /spec/conversion/webhook/clientConfig/caBundle
- group: "pingcap.com/v1alpha1"
kind: TidbCluster
name: tidbclusters.pingcap.com
jsonPointers:
- /spec/pd/config
- /spec/tidb/config
- /spec/tikv/config
- group: "v1"
kind: Secret
name: camunda-connectors-auth-credentials
jsonPointers:
- /data/connectors-secret
sources:
- repoURL: git@github.com:kevinetore/k3s-cluster.git
targetRevision: HEAD
path: "{{path}}"