Skip to content

Commit 744ad19

Browse files
committed
feat(argus): release 12.0.0
1 parent 5b6abd0 commit 744ad19

File tree

6 files changed

+48
-6
lines changed

6 files changed

+48
-6
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
- email: argus@logicmonitor.com
77
name: LogicMonitor
88
name: argus
9-
version: 11.1.1
9+
version: 12.0.0
1010
home: https://logicmonitor.github.io/helm-charts
11-
appVersion: v15.1.0
11+
appVersion: v16.0.0
1212
dependencies:
1313
- name: lmutil
1414
repository: https://logicmonitor.github.io/helm-charts
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{/* vim: set filetype=mustache: */}}
2+
3+
{{- define "filter-config" -}}
4+
{{- $disabledBatchingFilter := "contains(owner,\"Job,CronJob\") && type == \"pod\"" }}
5+
{{- $filterValues := append .Values.filters ($disabledBatchingFilter) }}
6+
filters:
7+
{{ toYaml $filterValues | nindent 2 }}
8+
{{- end -}}

charts/argus/templates/_helpers.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ logicmonitor.com/provider: lm-container
4444

4545
{{- define "monitoring.disable" }}
4646
{{ $alwaysDisable := list }}
47+
{{- if and (not .Release.IsUpgrade) (eq .Values.monitoringMode "Minimal") }}
48+
{{ $alwaysDisable = list "resourcequotas" "limitranges" "roles" "rolebindings" "networkpolicies" "configmaps" "clusterrolebindings" "clusterroles" "priorityclasses" "storageclasses" "cronjobs" "jobs" "endpoints" "ingresses" "secrets" "serviceaccounts" "poddisruptionbudgets" "customresourcedefinitions" }}
49+
{{- end }}
50+
4751
{{ $resultList := ( concat $alwaysDisable $.Values.monitoring.disable | uniq ) }}
4852
{{- toYaml $resultList | nindent 0}}
4953
{{- end }}

charts/argus/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ data:
1616
config.yaml: |
1717
{{- include "argus-config" . | fromYaml | toYaml | nindent 4 }}
1818
filters-config.yaml: |
19-
filters: {{- toYaml .Values.filters | nindent 6 }}
19+
{{- include "filter-config" . | fromYaml | toYaml | nindent 4 }}
2020
collectorConfig: |
2121
{{- include "collector-config" . | fromYaml | toYaml | nindent 4 }}

charts/argus/values.schema.json

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,34 @@
180180
],
181181
"$comment": "ui:accessId-ignore tf:optional"
182182
},
183+
"disableBatchingPods": {
184+
"$id": "#/properties/disableBatchingPods",
185+
"type": "boolean",
186+
"title": "Disable Pods created by Jobs / CronJobs",
187+
"description": "Disable Pods created by Jobs / CronJobs",
188+
"default": "true",
189+
"examples": [
190+
"true",
191+
"false"
192+
],
193+
"$comment": "ui:accessKey-ignore tf:optional"
194+
},
195+
"monitoringMode": {
196+
"$id": "#/properties/monitoringMode",
197+
"type": "string",
198+
"title": "Argus Monitoring Mode",
199+
"description": "Monitoring mode for Argus (Minimal/Advanced)",
200+
"default": "Minimal",
201+
"enum": [
202+
"Minimal",
203+
"Advanced"
204+
],
205+
"examples": [
206+
"Minimal",
207+
"Advanced"
208+
],
209+
"$comment": "ui:accessKey-ignore tf:optional"
210+
},
183211
"accessKey": {
184212
"$id": "#/properties/accessKey",
185213
"type": "string",
@@ -1113,7 +1141,7 @@
11131141
"$id": "#/properties/lm/properties/lmlogs/properties/k8sevent/properties/enable",
11141142
"type": "boolean",
11151143
"title": "The enable schema",
1116-
"description": "Once you enable the property, it starts collecting Kubernetes events.",
1144+
"description": "Once you enable the property, it starts collecting Kuberentes events.",
11171145
"default": false,
11181146
"examples": [
11191147
false
@@ -1142,7 +1170,7 @@
11421170
"$id": "#/properties/lm/properties/lmlogs/properties/k8spodlog/properties/enable",
11431171
"type": "boolean",
11441172
"title": "The enable schema",
1145-
"description": "Once you enable the property, it starts Kubernetes Pod's logs collection",
1173+
"description": "Once you enable the property, it starts Kuberentes Pod's logs collection",
11461174
"default": false,
11471175
"examples": [
11481176
false
@@ -3284,4 +3312,4 @@
32843312
"type": "object"
32853313
}
32863314
}
3287-
}
3315+
}

charts/argus/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ log:
6565
level: "info"
6666

6767
ksmUrl: ""
68+
monitoringMode: "Minimal"
69+
disableBatchingPods: true
6870

6971
collectorsetcontroller:
7072
address: collectorset-controller

0 commit comments

Comments
 (0)