Skip to content

Commit

Permalink
conditional volume mounting for configmap reload
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Hemstreet <jon.hemstreet@unanet.com>
  • Loading branch information
hemstreet committed Oct 21, 2024
1 parent c6f995a commit 07d8ebc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/alertmanager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/a
sources:
- https://github.com/prometheus/alertmanager
type: application
version: 1.13.0
version: 1.13.1
appVersion: v0.27.0
kubeVersion: ">=1.19.0-0"
keywords:
Expand Down
2 changes: 2 additions & 0 deletions charts/alertmanager/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.config.enabled }}
- name: config
mountPath: /etc/alertmanager
{{- end }}
{{- if .Values.configmapReload.extraVolumeMounts }}
{{- toYaml .Values.configmapReload.extraVolumeMounts | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 07d8ebc

Please sign in to comment.