Skip to content

Commit

Permalink
TMP Change deployment strategy to Rolling for K8s Helm Chart
Browse files Browse the repository at this point in the history
  • Loading branch information
sleshchenko committed Mar 30, 2018
1 parent 2ed1a63 commit dffc018
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/kubernetes/helm/che/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ spec:
matchLabels:
app: che
strategy:
{{- if .Values.global.multiuser }}
type: Rolling
{{- else }}
type: Recreate
{{- end }}
template:
metadata:
labels:
app: che
spec:
terminationGracePeriodSeconds: 600
initContainers:
{{- if .Values.global.multiuser }}
- name: wait-for-postgres
Expand Down

0 comments on commit dffc018

Please sign in to comment.