Skip to content

Commit 32ff3ba

Browse files
committed
feat: allow to override deployment strategy type
1 parent 4522afe commit 32ff3ba

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ metadata:
77
app.kubernetes.io/component: server
88
spec:
99
replicas: 1
10+
strategy:
11+
type: {{ .Values.strategyType }}
1012
selector:
1113
matchLabels:
1214
{{- include "garm.selectorLabels" . | nindent 6 }}

values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ service:
8686
port: 9997
8787
annotations: {}
8888

89+
## -- Deployment strategy type.
90+
strategyType: "RollingUpdate"
91+
8992
## -- Ingress configuration.
9093
ingress:
9194
## -- Enable or disable the Ingress resource.

0 commit comments

Comments
 (0)