File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {{- if or (eq (include " understack.isEnabled" (list $ .Values.global " karma" )) " true" ) (eq (include " understack.isEnabled" (list $ .Values.site " karma" )) " true" ) }}
2+ ---
3+ apiVersion: argoproj.io /v1alpha1
4+ kind: Application
5+ metadata:
6+ name: {{ printf " %s -%s " $ .Release.Name " karma" }}
7+ annotations:
8+ argocd.argoproj.io /compare-options: ServerSideDiff= true,IncludeMutationWebhook= true
9+ spec:
10+ destination:
11+ namespace: monitoring
12+ server: {{ $ .Values.cluster_server }}
13+ project: understack
14+ sources:
15+ - chart: karma
16+ helm:
17+ ignoreMissingValueFiles: true
18+ releaseName: karma
19+ valueFiles:
20+ - $understack /components/karma/values.yaml
21+ - $deploy /{{ include " understack.deploy_path" $ }}/karma/values.yaml
22+ repoURL: https://wiremind.github.io /wiremind-helm-charts
23+ targetRevision: 2.11.0
24+ - path: components/karma
25+ ref: understack
26+ repoURL: {{ include " understack.understack_url" $ }}
27+ targetRevision: {{ include " understack.understack_ref" $ }}
28+ - path: {{ include " understack.deploy_path" $ }}/karma
29+ ref: deploy
30+ repoURL: {{ include " understack.deploy_url" $ }}
31+ targetRevision: {{ include " understack.deploy_ref" $ }}
32+ syncPolicy:
33+ automated:
34+ prune: true
35+ selfHeal: true
36+ managedNamespaceMetadata:
37+ annotations:
38+ argocd.argoproj.io /sync-options: Delete= false
39+ syncOptions:
40+ - CreateNamespace= true
41+ - ServerSideApply= true
42+ - RespectIgnoreDifferences= true
43+ - ApplyOutOfSyncOnly= true
44+ {{- end }}
Original file line number Diff line number Diff line change 2626 - $deploy /{{ include " understack.deploy_path" $ }}/monitoring/values.yaml
2727 repoURL: https://prometheus-community.github.io /helm-charts
2828 targetRevision: 79.5.0
29- - chart: karma
30- helm:
31- ignoreMissingValueFiles: true
32- releaseName: karma
33- valueFiles:
34- - $understack /operators/monitoring/values-karma.yaml
35- - $deploy /{{ include " understack.deploy_path" $ }}/monitoring/values-karma.yaml
36- repoURL: https://wiremind.github.io /wiremind-helm-charts
37- targetRevision: 2.11.0
3829 - path: operators/monitoring
3930 ref: understack
4031 repoURL: {{ include " understack.understack_url" $ }}
Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ global:
111111 # @default -- true
112112 enabled : true
113113
114+ # -- Alerts management (karma)
115+ karma :
116+ # -- Enable/disable deploying kube-prometheus-stack
117+ # @default -- true
118+ enabled : true
119+
114120 # -- Monitoring via kube-prometheus-stack
115121 monitoring :
116122 # -- Enable/disable deploying kube-prometheus-stack
@@ -419,6 +425,12 @@ site:
419425 # @default -- true
420426 enabled : true
421427
428+ # -- Alerts management (karma)
429+ karma :
430+ # -- Enable/disable deploying kube-prometheus-stack
431+ # @default -- true
432+ enabled : true
433+
422434 # -- MariaDB Operator
423435 mariadb_operator :
424436 # -- Enable/disable deploying MariaDB Operator
File renamed without changes.
You can’t perform that action at this time.
0 commit comments