Skip to content

Commit

Permalink
Use recreate strategy if using RWO volumes (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszdurka authored Mar 4, 2024
1 parent 443e14c commit 6a76f3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/charts/karma-media-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
description: Karma Media Server
name: karma-media-server

version: 1.0.4
version: 1.0.5
3 changes: 3 additions & 0 deletions helm/charts/karma-media-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.pvc.enabled }}
strategy: Recreate
{{- end }}
replicas: {{ .Values.deployment.replicaCount }}
selector:
matchLabels:
Expand Down

0 comments on commit 6a76f3a

Please sign in to comment.