From 081b3de8c491ca53c46a87553ad5f5a9587dc8bc Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 25 Jun 2024 13:47:49 +0200 Subject: [PATCH] feat(stalwart-mail): add pod annotations --- charts/stalwart-mail/Chart.yaml | 2 +- charts/stalwart-mail/templates/deployment.yaml | 4 ++++ charts/stalwart-mail/values.yaml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/stalwart-mail/Chart.yaml b/charts/stalwart-mail/Chart.yaml index 013a192..00dd32a 100644 --- a/charts/stalwart-mail/Chart.yaml +++ b/charts/stalwart-mail/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: stalwart-mail description: Stalwart is a JMAP, IMAP4 and SMTP server -version: 0.2.0 +version: 0.2.1 appVersion: 0.8.1 maintainers: - name: Tommy Skaug diff --git a/charts/stalwart-mail/templates/deployment.yaml b/charts/stalwart-mail/templates/deployment.yaml index 15fd60d..2c5d090 100644 --- a/charts/stalwart-mail/templates/deployment.yaml +++ b/charts/stalwart-mail/templates/deployment.yaml @@ -13,6 +13,10 @@ spec: metadata: labels: {{- include "stalwart-mail.selectorLabels" . | nindent 8 }} + annotations: + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: serviceAccountName: {{ include "stalwart-mail.fullname" . }} containers: diff --git a/charts/stalwart-mail/values.yaml b/charts/stalwart-mail/values.yaml index 6f38c60..ace8131 100644 --- a/charts/stalwart-mail/values.yaml +++ b/charts/stalwart-mail/values.yaml @@ -30,3 +30,5 @@ service: imap: 143 imaps: 993 sieve: 4190 + +podAnnotations: {}