Newer
Older
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
{{- if and .Values.monitoring .Values.monitoring.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .Values.cluster.name }}-rancher-monitoring
labels:
cluster: {{ .Values.cluster.name | quote }}
app: rancher-monitoring
namespace: argocd
annotations:
{{- toYaml .Values.notifications | nindent 4 }}
spec:
project: {{ .Values.cluster.name }}
destination:
server: {{ .Values.cluster.url }}
namespace: cattle-monitoring-system
syncPolicy:
{{- if .Values.sync }}
automated:
prune: true
selfHeal: true
allowEmpty: false
{{- end }}
syncOptions:
- CreateNamespace=true
source:
repoURL: https://charts.rancher.io
chart: rancher-monitoring
targetRevision: {{ .Values.rancherMonitoring.version | quote }}
helm:
version: v3
releaseName: rancher-monitoring
values: |
global:
cattle:
clusterId: {{ .Values.cluster.rancher.id }}
clusterName: {{ .Values.cluster.name }}
systemDefaultRegistry: ""
systemDefaultRegistry: ""
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .Values.cluster.name }}-rancher-monitoring-crd
labels:
cluster: {{ .Values.cluster.name | quote }}
app: rancher-monitoring-crd
namespace: argocd
annotations:
{{- toYaml .Values.notifications | nindent 4 }}
spec:
project: {{ .Values.cluster.name }}
destination:
server: {{ .Values.cluster.url }}
namespace: cattle-monitoring-system
syncPolicy:
{{- if .Values.sync }}
automated:
prune: true
selfHeal: true
allowEmpty: false
{{- end }}
syncOptions:
- Replace=true
- CreateNamespace=true
source:
repoURL: https://charts.rancher.io
chart: rancher-monitoring-crd
targetRevision: {{ .Values.rancherMonitoring.version | quote }}
helm:
version: v3
releaseName: rancher-monitoring-crd
values: |
global:
cattle:
clusterId: {{ .Values.cluster.rancher.id }}
clusterName: {{ .Values.cluster.name }}
systemDefaultRegistry: ""
systemDefaultRegistry: ""
{{- end }}