From aaad66b40fb9e1ef614c056fa4cf9e633661fb69 Mon Sep 17 00:00:00 2001 From: sido Date: Wed, 26 Sep 2018 17:39:47 +0200 Subject: [PATCH] updated pvc creation of postgres --- molgenis/Chart.yaml | 2 +- molgenis/templates/persistence/postgresPVC.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/molgenis/Chart.yaml b/molgenis/Chart.yaml index 6bde3df..76fd289 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.1 +version: 0.4.2 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/persistence/postgresPVC.yaml b/molgenis/templates/persistence/postgresPVC.yaml index 8c404d9..4e0cfcc 100644 --- a/molgenis/templates/persistence/postgresPVC.yaml +++ b/molgenis/templates/persistence/postgresPVC.yaml @@ -1,4 +1,5 @@ -{{- if .Values.molgenis.services.postgres.embedded and .Values.persistence.enabled }} +{{- if .Values.molgenis.services.postgres.embedded }} +{{- if .Values.persistence.enabled }} apiVersion: extensions/v1beta1 kind: PersistentVolumeClaim apiVersion: v1 @@ -16,4 +17,5 @@ spec: resources: requests: storage: {{ .Values.postgres.persistence.size }} +{{- end }} {{- end }} \ No newline at end of file