Skip to content

Commit

Permalink
Merge branch 'main' into add_terminationMsgPath
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrazier08 authored Jan 29, 2024
2 parents 711ecd8 + 65a6c8d commit 4e63a6b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-systemd-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: prometheus-systemd-exporter
description: A Helm chart for prometheus systemd-exporter
type: application
version: 0.1.1
version: 0.2.0
appVersion: "0.6.0"
home: https://github.com/prometheus-community/systemd_exporter
sources:
Expand Down
6 changes: 6 additions & 0 deletions charts/prometheus-systemd-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ spec:
- name: systemd
mountPath: /host/systemd
readOnly: true
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
hostPID: {{ .Values.hostPID }}
{{- with .Values.affinity }}
Expand All @@ -102,3 +105,6 @@ spec:
- name: systemd
hostPath:
path: /run/systemd
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
9 changes: 9 additions & 0 deletions charts/prometheus-systemd-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,12 @@ readinessProbe:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1

extraVolumes: []
# - name: systemd-example
# hostPath:
# path: /var/run/example
extraVolumeMounts: []
# - mountPath: /var/run/example
# name: systemd-example
# readOnly: true

0 comments on commit 4e63a6b

Please sign in to comment.