Skip to content

Commit 7707f80

Browse files
committed
Allow override of deployment strategy
1 parent 94100b6 commit 7707f80

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

charts/spoolman/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: "0.23.1"
33
description: Keep track of your inventory of 3D-printer filament spools.
44
name: spoolman
5-
version: 0.1.5
5+
version: 0.1.6
66
type: application
77
keywords:
88
- database
@@ -20,4 +20,4 @@ maintainers:
2020
annotations:
2121
artifacthub.io/changes: |-
2222
- kind: changed
23-
description: Update to Spoolman v0.23.1
23+
description: Allow override of deployment strategy

charts/spoolman/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,5 @@ spec:
8686
tolerations:
8787
{{- toYaml . | nindent 8 }}
8888
{{- end }}
89+
strategy:
90+
type: {{ .Values.strategy.type }}

charts/spoolman/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
# -- Number of replicas
77
replicaCount: 1
88

9+
strategy:
10+
# -- Specifies the strategy used to replace old Pods by new ones
11+
type: Recreate
12+
913
# -- image repository
1014
image:
1115
repository: ghcr.io/donkie/spoolman

0 commit comments

Comments
 (0)