about summary refs log tree commit diff
path: root/cd/tools.yaml
blob: 0b73569f035502bc85450221e4157ba63b0bcfa1 (plain)
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
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: monitoring-applicationset
  namespace: default
spec:
  generators:
  - list:
      elements:
      - chart: argocd
        path: tools/argocd
      - chart: grafana
        path: tools/grafana
      - chart: prometheus
        path: tools/prometheus
      - chart: eck-operator
        path: tools/eck-operator
  template:
    metadata:
      name: '{{chart}}'
    spec:
      project: default
      source:
        repoURL: 'https://github.com/makefunstuff/k3s-lab'
        targetRevision: HEAD
        path: '{{path}}'
      destination:
        server: 'https://kubernetes.default.svc'
        namespace: monitoring
      syncPolicy:
        automated:
          prune: true
          selfHeal: true