feat: add deployment strategy. Default is recreate since replica will be 1

This commit is contained in:
Tommy 2024-07-30 11:15:42 +02:00
parent 32f7278a02
commit 7cde4894f3
Signed by: tommy
SSH key fingerprint: SHA256:1LWgQT3QPHIT29plS8jjXc3S1FcE/4oGvsx3Efxs6Uc
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
apiVersion: v2
name: stalwart-mail
description: Stalwart is a JMAP, IMAP4 and SMTP server
version: 0.2.1
version: 0.2.2
appVersion: 0.8.1
maintainers:
- name: Tommy Skaug

View file

@ -18,6 +18,8 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
strategy:
{{- toYaml .Values.strategy | nindent 8 }}
serviceAccountName: {{ include "stalwart-mail.fullname" . }}
containers:
- name: stalwart-mail