Skip to content

Commit

Permalink
Switch deployment strategy to Recreate
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ccremer committed Nov 29, 2021
1 parent 258e3bc commit 4627207
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down
2 changes: 1 addition & 1 deletion charts/emby/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/emby/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions charts/emby/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ spec:
selector:
matchLabels:
{{- include "emby.selectorLabels" . | nindent 6 }}
strategy:
type: Recreate
template:
metadata:
{{- with .Values.podAnnotations }}
Expand Down

0 comments on commit 4627207

Please sign in to comment.