diff --git a/ntfy/templates/deployment.yaml b/ntfy/templates/deployment.yaml index 8550abe..29a5c46 100644 --- a/ntfy/templates/deployment.yaml +++ b/ntfy/templates/deployment.yaml @@ -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 }} diff --git a/ntfy/values.yaml b/ntfy/values.yaml index 67badd8..36c773b 100644 --- a/ntfy/values.yaml +++ b/ntfy/values.yaml @@ -14,6 +14,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +updateStrategy: + type: Recreate + ntfy: baseURL: "https://ntfy.example.org" listen: