fix(ntfy): add updateStrategy with default 'recreate'

This commit is contained in:
pat-s 2024-07-21 12:44:08 +02:00 committed by WrenIX
parent 69166898cd
commit 0a6069e2ec
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
4 changed files with 14 additions and 2 deletions

View file

@ -3,7 +3,7 @@ name: ntfy
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
icon: https://github.com/binwiederhier/ntfy/raw/main/web/public/static/images/pwa-512x512.png icon: https://github.com/binwiederhier/ntfy/raw/main/web/public/static/images/pwa-512x512.png
type: application type: application
version: 0.1.11 version: 0.1.12
# renovate: image=docker.io/binwiederhier/ntfy # renovate: image=docker.io/binwiederhier/ntfy
appVersion: "2.11.0" appVersion: "2.11.0"
maintainers: maintainers:

View file

@ -2,7 +2,7 @@
= ntfy = 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/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] image::https://img.shields.io/badge/AppVersion-2.11.0-informational?style=flat-square[AppVersion: 2.11.0]
== Maintainers == Maintainers
@ -521,6 +521,11 @@ helm uninstall ntfy-release
| list | list
| `[]` | `[]`
| |
| updateStrategy.type
| string
| `"Recreate"`
|
|=== |===
Autogenerated from chart metadata using https://github.com/norwoodj/helm-docs[helm-docs] Autogenerated from chart metadata using https://github.com/norwoodj/helm-docs[helm-docs]

View file

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

View file

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