-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.yaml
39 lines (39 loc) · 1022 Bytes
/
test.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
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: main
spec:
generators:
- list:
elements:
- appName: atlantis
namespace: automation
- appName: crossplane
namespace: crossplane-system
- appName: nginx-ingress-controller
namespace: ingress-nginx
template:
metadata:
name: "{{appName}}"
annotations:
argocd.argoproj.io/manifest-generate-paths: ".;.."
spec:
project: default
source:
repoURL: https://github.com/JulienJourdain/infrastructure.git
targetRevision: HEAD
path: "kubernetes/resources/{{appName}}"
helm:
# Release name override (defaults to application name)
releaseName: "{{appName}}"
valueFiles:
- values.yaml
destination:
name: in-cluster
namespace: "{{namespace}}"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true