1
0

restrcuture deployment

This commit is contained in:
sido 2018-09-10 21:57:39 +02:00
parent a660aff355
commit 59d99deab5
2 changed files with 5 additions and 5 deletions

View File

@ -68,11 +68,11 @@ spec:
periodSeconds: 5 periodSeconds: 5
resources: resources:
{{ toYaml .resources | indent 12 }} {{ toYaml .resources | indent 12 }}
{{- if .persistence.enabled }} {{- if .persistence.enabled -}}
volumes: volumes:
- name: molgenis-nfs - name: molgenis-nfs
persistentVolumeClaim: persistentVolumeClaim:
claimName: {{ .persistence.name }} claimName: {{ .persistence.name }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -1,4 +1,4 @@
{{- if .Values.molgenis.persistence.enabled }} {{- if .Values.molgenis.persistence.enabled -}}
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1