fix(molgenis): Recreate pods upon upgrade
The default upgrade strategy would cause multiple instances of MOLGENIS to run on the same database. Use Recreate strategy instead. Fixes #75
This commit is contained in:
parent
5760171c4b
commit
525847fdf5
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "1.0"
|
appVersion: "1.0"
|
||||||
description: MOLGENIS - helm stack (in BETA)
|
description: MOLGENIS - helm stack (in BETA)
|
||||||
name: molgenis
|
name: molgenis
|
||||||
version: 0.4.2
|
version: 0.4.3
|
||||||
sources:
|
sources:
|
||||||
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis/catalogIcon-molgenis.svg
|
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis/catalogIcon-molgenis.svg
|
|
@ -17,6 +17,8 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "molgenis.name" . }}
|
app: {{ template "molgenis.name" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in New Issue