Skip to content

Commit 137295a

Browse files
committed
Change pod type from Statefulset to Deployment
1 parent 5d34989 commit 137295a

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.diploi/helm/app.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
apiVersion: apps/v1
2-
{{- if eq .Values.stage "development" }}
3-
kind: StatefulSet
4-
{{- else }}
52
kind: Deployment
6-
{{- end }}
73
metadata:
84
name: app
95
labels:
@@ -12,10 +8,10 @@ spec:
128
selector:
139
matchLabels:
1410
app: app
15-
{{- if eq .Values.stage "development" }}
16-
serviceName: app
17-
{{- else }}
1811
strategy:
12+
{{- if eq .Values.stage "development"}}
13+
type: Recreate
14+
{{- else }}
1915
type: RollingUpdate
2016
rollingUpdate:
2117
maxUnavailable: 25%

0 commit comments

Comments
 (0)