From 46272075336c10961f005510266e529644b61012 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 29 Nov 2021 20:24:11 +0100 Subject: [PATCH] Switch deployment strategy to Recreate When updating the chart, it can happen that the new pod cannot start up since the DB might be locked from the still-running pod --- README.md | 2 +- charts/emby/Chart.yaml | 2 +- charts/emby/README.md | 2 +- charts/emby/templates/deployment.yaml | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b35cd1..91fe8ee 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ | Downloads & Changelog | Chart | | --- | --- | | [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/clustercode-0.1.2/total)](https://github.com/ccremer/charts/releases/tag/clustercode-0.1.2) | [clustercode](charts/clustercode/README.md) | -| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/emby-0.2.2/total)](https://github.com/ccremer/charts/releases/tag/emby-0.2.2) | [emby](charts/emby/README.md) | +| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/emby-0.2.3/total)](https://github.com/ccremer/charts/releases/tag/emby-0.2.3) | [emby](charts/emby/README.md) | | [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/fronius-exporter-0.8.1/total)](https://github.com/ccremer/charts/releases/tag/fronius-exporter-0.8.1) | [fronius-exporter](charts/fronius-exporter/README.md) | | [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/fronius-stack-0.1.4/total)](https://github.com/ccremer/charts/releases/tag/fronius-stack-0.1.4) | [fronius-stack](charts/fronius-stack/README.md) | | [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/kubernetes-zfs-provisioner-1.1.1/total)](https://github.com/ccremer/charts/releases/tag/kubernetes-zfs-provisioner-1.1.1) | [kubernetes-zfs-provisioner](charts/kubernetes-zfs-provisioner/README.md) | diff --git a/charts/emby/Chart.yaml b/charts/emby/Chart.yaml index 7a2a4e2..6039ae8 100644 --- a/charts/emby/Chart.yaml +++ b/charts/emby/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.2 +version: 0.2.3 sources: - https://github.com/MediaBrowser/Emby diff --git a/charts/emby/README.md b/charts/emby/README.md index 358d294..0448fa0 100644 --- a/charts/emby/README.md +++ b/charts/emby/README.md @@ -1,6 +1,6 @@ # emby -![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Helm chart for Emby media server diff --git a/charts/emby/templates/deployment.yaml b/charts/emby/templates/deployment.yaml index f8efa95..198041f 100644 --- a/charts/emby/templates/deployment.yaml +++ b/charts/emby/templates/deployment.yaml @@ -9,6 +9,8 @@ spec: selector: matchLabels: {{- include "emby.selectorLabels" . | nindent 6 }} + strategy: + type: Recreate template: metadata: {{- with .Values.podAnnotations }}