Skip to content

Commit

Permalink
[prometheus-systemd-exporter]: add missing dbus volume, fix systemd v…
Browse files Browse the repository at this point in the history
…olume mount point, remove unused proc volume (#4457)

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.io>
  • Loading branch information
desaintmartin committed Apr 25, 2024
1 parent fe80f00 commit 2a448c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-systemd-exporter/Chart.yaml
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: prometheus-systemd-exporter
description: A Helm chart for prometheus systemd-exporter
type: application
version: 0.2.1
version: 0.2.2
appVersion: "0.6.0"
home: https://github.com/prometheus-community/systemd_exporter
sources:
Expand Down
14 changes: 7 additions & 7 deletions charts/prometheus-systemd-exporter/templates/daemonset.yaml
Expand Up @@ -75,11 +75,11 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: proc
mountPath: /host/proc
readOnly: true
- name: systemd
mountPath: /host/systemd
mountPath: /run/systemd
readOnly: true
- name: dbus
mountPath: /var/run/dbus
readOnly: true
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
Expand All @@ -99,12 +99,12 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: proc
hostPath:
path: /proc
- name: systemd
hostPath:
path: /run/systemd
- name: dbus
hostPath:
path: /var/run/dbus
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}

0 comments on commit 2a448c6

Please sign in to comment.