feat: automatically roll deployments
All checks were successful
Helm / helm-lint (push) Successful in 6s
Release / publish-chart (push) Successful in 6s
Helm / helm-unittest (push) Successful in 24s

The following patch extends the chart to automatically roll the deployment, when
one of the configurations, stored in a config map or secret, has been changed.

The implementation add annotations which triggers `helm update` or ArgoCD to
roll the deployment. Further information can be found on the official helm
website:

  https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
This commit is contained in:
2025-05-29 12:23:44 +02:00
parent 51ee91fed1
commit 38b4f95a1f
3 changed files with 80 additions and 1 deletions

View File

@ -17,6 +17,8 @@ spec:
{{- include "prometheus-fail2ban-exporter.pod.selectorLabels" . | nindent 6 }}
template:
metadata:
annotations:
{{- include "prometheus-fail2ban-exporter.pod.annotations" . | nindent 8 }}
labels:
{{- include "prometheus-fail2ban-exporter.pod.labels" . | nindent 8 }}
spec: