1
0
Fork 0

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:
Fleur Kelpin 2018-09-27 11:46:11 +02:00
parent 5760171c4b
commit 525847fdf5
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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: