Skip to content

Commit

Permalink
Add "expires after" to CertificateRenewal alert description
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumm-Kai authored Dec 27, 2024
1 parent e2f8c41 commit ac3da44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
{{- end }}
annotations:
summary: Certificate should be renewed
description: Certificate for "{{ "{{" }} $labels.subject_CN {{ "}}" }}" should be renewed {{ "{{if" }} $labels.secret_name {{ "}}" }}in Kubernetes secret "{{ "{{" }} $labels.secret_namespace {{ "}}" }}/{{ "{{" }} $labels.secret_name {{ "}}" }}"{{ "{{else}}" }}at location "{{ "{{" }} $labels.filepath {{ "}}" }}"{{ "{{end}}" }}
description: Certificate for "{{ "{{" }} $labels.subject_CN {{ "}}" }}" should be renewed as it expires after {{`{{`}} humanizeDuration $value {{`}}`}} {{ "{{if" }} $labels.secret_name {{ "}}" }}in Kubernetes secret "{{ "{{" }} $labels.secret_namespace {{ "}}" }}/{{ "{{" }} $labels.secret_name {{ "}}" }}"{{ "{{else}}" }}at location "{{ "{{" }} $labels.filepath {{ "}}" }}"{{ "{{end}}" }}
{{- if .Values.prometheusRules.alertExtraAnnotations }}
{{- toYaml .Values.prometheusRules.alertExtraAnnotations | nindent 8 }}
{{- end }}
Expand Down

0 comments on commit ac3da44

Please sign in to comment.