diff --git a/charts/prometheus-systemd-exporter/Chart.yaml b/charts/prometheus-systemd-exporter/Chart.yaml index 1506dc5fc3c4..b3d6a18fc84f 100644 --- a/charts/prometheus-systemd-exporter/Chart.yaml +++ b/charts/prometheus-systemd-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: prometheus-systemd-exporter description: A Helm chart for prometheus systemd-exporter type: application -version: 0.2.0 +version: 0.2.1 appVersion: "0.6.0" home: https://github.com/prometheus-community/systemd_exporter sources: diff --git a/charts/prometheus-systemd-exporter/templates/daemonset.yaml b/charts/prometheus-systemd-exporter/templates/daemonset.yaml index c85b0e3c2cc0..8d0bd1eb94bc 100644 --- a/charts/prometheus-systemd-exporter/templates/daemonset.yaml +++ b/charts/prometheus-systemd-exporter/templates/daemonset.yaml @@ -52,9 +52,9 @@ spec: args: - --log.level=info - --systemd.collector.unit-include=kubelet.service|docker.service - {{- with .Values.extraArgs }} - {{- toYaml . | nindent 12 }} - {{- end }} + {{- with .Values.extraArgs }} + {{- toYaml . | nindent 10 }} + {{- end }} {{- with .Values.containerSecurityContext }} securityContext: {{- toYaml . | nindent 12 }} diff --git a/charts/prometheus-systemd-exporter/values.yaml b/charts/prometheus-systemd-exporter/values.yaml index c6e4b4b005a7..074374838d75 100644 --- a/charts/prometheus-systemd-exporter/values.yaml +++ b/charts/prometheus-systemd-exporter/values.yaml @@ -50,6 +50,10 @@ env: {} ## env: ## VARIABLE: value +# extraArgs allows to pass command line arguments, as described on https://github.com/prometheus-community/systemd_exporter?tab=readme-ov-file#configuration +extraArgs: [] +# - --systemd.collector.enable-resolved + prometheus: monitor: enabled: false