From b30a4e6e21d5564a1bfd903fbd3ce50f5db5d4a8 Mon Sep 17 00:00:00 2001 From: sido Date: Wed, 27 Jun 2018 18:06:39 +0200 Subject: [PATCH] bumped version --- .../templates/deployments/nexus-deployment.yaml | 10 +++++----- .../v0.2.x/templates/volumes/nexus-pv.yaml | 14 +++++++------- .../v0.2.x/templates/volumes/nexus-pvc.yaml | 8 ++++---- molgenis-nexus/v0.2.x/values.yaml | 1 + 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/molgenis-nexus/v0.2.x/templates/deployments/nexus-deployment.yaml b/molgenis-nexus/v0.2.x/templates/deployments/nexus-deployment.yaml index 521d891..af95f78 100644 --- a/molgenis-nexus/v0.2.x/templates/deployments/nexus-deployment.yaml +++ b/molgenis-nexus/v0.2.x/templates/deployments/nexus-deployment.yaml @@ -20,17 +20,17 @@ spec: creationTimestamp: null spec: volumes: - - name: {{ .Values.persistance.name }} + - name: {{ .Values.persistence.name }} persistentVolumeClaim: - claimName: {{ .Values.persistance.name }} + claimName: {{ .Values.persistence.name }} restartPolicy: {{ .Values.nexus.restartPolicy }} initContainers: - name: volume-mount-nexus image: busybox - command: ["sh", "-c", "chown -R 200:200 {{ .Values.persistance.mountPath }}"] + command: ["sh", "-c", "chown -R 200:200 {{ .Values.persistence.mountPath }}"] volumeMounts: - name: {{ .Values.persistance.name }} - mountPath: "{{ .Values.persistance.mountPath }}" + mountPath: "{{ .Values.persistence.mountPath }}" containers: - name: {{ .Values.nexus.name }} image: "{{ .Values.nexus.image.repository }}:{{ .Values.nexus.image.tag }}" @@ -39,6 +39,6 @@ spec: - containerPort: {{ .Values.nexus.port.ui }} - containerPort: {{ .Values.nexus.port.docker }} volumeMounts: - - name: {{ .Values.persistance.name }} + - name: {{ .Values.persistence.name }} mountPath: "/nexus-data" diff --git a/molgenis-nexus/v0.2.x/templates/volumes/nexus-pv.yaml b/molgenis-nexus/v0.2.x/templates/volumes/nexus-pv.yaml index bfe4fb9..05a4478 100644 --- a/molgenis-nexus/v0.2.x/templates/volumes/nexus-pv.yaml +++ b/molgenis-nexus/v0.2.x/templates/volumes/nexus-pv.yaml @@ -1,16 +1,16 @@ apiVersion: v1 kind: PersistentVolume metadata: - name: {{ .Values.persistance.volumeName }} + name: {{ .Values.persistence.volumeName }} labels: name: nfs2 spec: - storageClassName: nfs-class + storageClassName: {{ .Values.persistence.storageClass }} capacity: - storage: {{ .Values.persistance.size }} + storage: {{ .Values.persistence.size }} accessModes: - - ReadWriteMany - persistentVolumeReclaimPolicy: {{ .Values.persistance.reclaimPolicy }} + - {{ .Values.persistence.accessModes }} + persistentVolumeReclaimPolicy: {{ .Values.persistence.reclaimPolicy }} nfs: - server: {{ .Values.persistance.server }} - path: {{ .Values.persistance.mountPath }} + server: {{ .Values.persistence.server }} + path: {{ .Values.persistence.mountPath }} diff --git a/molgenis-nexus/v0.2.x/templates/volumes/nexus-pvc.yaml b/molgenis-nexus/v0.2.x/templates/volumes/nexus-pvc.yaml index 8e9f89b..3b2d4bb 100644 --- a/molgenis-nexus/v0.2.x/templates/volumes/nexus-pvc.yaml +++ b/molgenis-nexus/v0.2.x/templates/volumes/nexus-pvc.yaml @@ -1,11 +1,11 @@ kind: PersistentVolumeClaim apiVersion: v1 metadata: - name: {{ .Values.persistance.name }} + name: {{ .Values.persistence.name }} spec: - storageClassName: nfs-class + storageClassName: {{ .Values.persistence.storageClass }} accessModes: - - {{ .Values.persistance.accessMode }} + - {{ .Values.persistence.accessMode }} resources: requests: - storage: {{ .Values.persistance.size }} \ No newline at end of file + storage: {{ .Values.persistence.size }} \ No newline at end of file diff --git a/molgenis-nexus/v0.2.x/values.yaml b/molgenis-nexus/v0.2.x/values.yaml index 9d2dfdd..32c193c 100644 --- a/molgenis-nexus/v0.2.x/values.yaml +++ b/molgenis-nexus/v0.2.x/values.yaml @@ -55,6 +55,7 @@ ingress: persistence: name: molgenis-nexus-data + storageClass: nfs-class size: 30G reclaimPolicy: Retain server: 192.168.64.12