From 4998b5bfa149c62f79ee17fb8ae73d2ad6986832 Mon Sep 17 00:00:00 2001 From: Bastian Eicher Date: Fri, 12 Jul 2024 11:28:28 +0200 Subject: [PATCH] Improved PodTooOld message --- charts/generic-service/templates/alerts.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/generic-service/templates/alerts.yaml b/charts/generic-service/templates/alerts.yaml index ddba0dd..e694bca 100644 --- a/charts/generic-service/templates/alerts.yaml +++ b/charts/generic-service/templates/alerts.yaml @@ -66,8 +66,8 @@ spec: > {{ .Values.alerting.pod.maxAgeSeconds | int }} labels: {{- include "generic-service.alert-labels" . | nindent 12 }} warning topic: updates - annotations: {{- include "generic-service.alert-annotations" . | nindent 12 }} Pods too old - description: 'The Pod {{"{{ $labels.pod }}"}} has not been updated for {{"{{ humanizeDuration $value }}"}}.' + annotations: {{- include "generic-service.alert-annotations" . | nindent 12 }} too old + description: '{{"{{ $labels.pod }}"}} has not been updated for {{"{{ humanizeDuration $value }}"}}. Consider building and deploying a new version to get the latest security updates in your dependencies.' {{- end }}