ntfy: add updateStrategy with default 'recreate'

This commit is contained in:
pat-s 2024-07-21 12:44:08 +02:00
parent eab82cac05
commit 76aaf8c830
No known key found for this signature in database
GPG key ID: 3C6318841EF78925
2 changed files with 6 additions and 0 deletions

View file

@ -28,6 +28,9 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.updateStrategy }}
updateStrategy: {{- toYaml .Values.updateStrategy | nindent 4 }}
{{- end }}
serviceAccountName: {{ include "ntfy.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}

View file

@ -14,6 +14,9 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
updateStrategy:
type: Recreate
ntfy:
baseURL: "https://ntfy.example.org"
listen: