Skip to content

Commit 26c2108

Browse files
feat(collector-config): add collector config params to configMap (#309)
* feat(collector-config): add collector config params to configMap * feat(collector-config): added check for collector params are empty * feat(collector-config): review comments addressed --------- Co-authored-by: Shubhashri Shirode <[email protected]>
1 parent 66ae369 commit 26c2108

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

charts/argus/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ maintainers:
66
77
name: LogicMonitor
88
name: argus
9-
version: 8.1.0-rc02
9+
version: 8.1.0-rc03
1010
home: https://logicmonitor.github.io/helm-charts-qa
11-
appVersion: v12.1.0-rc02
11+
appVersion: v12.1.0-rc03
1212
dependencies:
1313
- name: lmutil
1414
repository: https://logicmonitor.github.io/helm-charts-qa
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{{/* vim: set filetype=mustache: */}}
2+
3+
{{- define "collector-config" -}}
4+
replicas: {{ .Values.collector.replicas }}
5+
size: {{ .Values.collector.size | quote}}
6+
useEA: {{ .Values.collector.useEA | default false}}
7+
lm:
8+
escalationChainID: {{ .Values.collector.lm.escalationChainID | default 0 }}
9+
{{- end -}}

charts/argus/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ data:
1717
{{- include "argus-config" . | fromYaml | toYaml | nindent 4 }}
1818
filters-config.yaml: |
1919
filters: {{- toYaml .Values.filters | nindent 6 }}
20+
collectorConfig: |
21+
{{- include "collector-config" . | fromYaml | toYaml | nindent 4 }}

0 commit comments

Comments
 (0)