From 0a6069e2ec8304d4accfe8f9a7371a924b842eac Mon Sep 17 00:00:00 2001 From: pat-s Date: Sun, 21 Jul 2024 12:44:08 +0200 Subject: [PATCH] fix(ntfy): add updateStrategy with default 'recreate' --- ntfy/Chart.yaml | 2 +- ntfy/README.adoc | 7 ++++++- ntfy/templates/deployment.yaml | 4 ++++ ntfy/values.yaml | 3 +++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ntfy/Chart.yaml b/ntfy/Chart.yaml index 2277758..7e837a7 100644 --- a/ntfy/Chart.yaml +++ b/ntfy/Chart.yaml @@ -3,7 +3,7 @@ name: ntfy description: A Helm chart for Kubernetes icon: https://github.com/binwiederhier/ntfy/raw/main/web/public/static/images/pwa-512x512.png type: application -version: 0.1.11 +version: 0.1.12 # renovate: image=docker.io/binwiederhier/ntfy appVersion: "2.11.0" maintainers: diff --git a/ntfy/README.adoc b/ntfy/README.adoc index a68811c..b996dcd 100644 --- a/ntfy/README.adoc +++ b/ntfy/README.adoc @@ -2,7 +2,7 @@ = ntfy -image::https://img.shields.io/badge/Version-0.1.11-informational?style=flat-square[Version: 0.1.11] +image::https://img.shields.io/badge/Version-0.1.12-informational?style=flat-square[Version: 0.1.12] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] image::https://img.shields.io/badge/AppVersion-2.11.0-informational?style=flat-square[AppVersion: 2.11.0] == Maintainers @@ -521,6 +521,11 @@ helm uninstall ntfy-release | list | `[]` | + +| updateStrategy.type +| string +| `"Recreate"` +| |=== Autogenerated from chart metadata using https://github.com/norwoodj/helm-docs[helm-docs] diff --git a/ntfy/templates/deployment.yaml b/ntfy/templates/deployment.yaml index 8550abe..b959c46 100644 --- a/ntfy/templates/deployment.yaml +++ b/ntfy/templates/deployment.yaml @@ -28,6 +28,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.updateStrategy }} + updateStrategy: + {{- toYaml . | 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: