From 525847fdf5b785e36b0ecf641a2f857bdf821ed0 Mon Sep 17 00:00:00 2001 From: Fleur Kelpin Date: Thu, 27 Sep 2018 11:46:11 +0200 Subject: [PATCH] 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 --- molgenis/Chart.yaml | 2 +- molgenis/templates/deployment.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/molgenis/Chart.yaml b/molgenis/Chart.yaml index 76fd289..cde7e05 100644 --- a/molgenis/Chart.yaml +++ b/molgenis/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.0" description: MOLGENIS - helm stack (in BETA) name: molgenis -version: 0.4.2 +version: 0.4.3 sources: - 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 \ No newline at end of file diff --git a/molgenis/templates/deployment.yaml b/molgenis/templates/deployment.yaml index 403af33..948f986 100644 --- a/molgenis/templates/deployment.yaml +++ b/molgenis/templates/deployment.yaml @@ -17,6 +17,8 @@ spec: matchLabels: app: {{ template "molgenis.name" . }} release: {{ .Release.Name }} + strategy: + type: Recreate template: metadata: labels: