diff --git a/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml b/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml index 1270efc..32523d4 100644 --- a/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml +++ b/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml @@ -19,6 +19,10 @@ spec: app: {{ .Values.nexus.name }} creationTimestamp: null spec: + volumes: + - name: molgenis-nexus-data + persistentVolumeClaim: + claimName: molgenis-nexus-data restartPolicy: {{ .Values.nexus.restartPolicy }} containers: - name: {{ .Values.nexus.name }} @@ -27,3 +31,7 @@ spec: ports: - containerPort: {{ .Values.nexus.port.ui }} - containerPort: {{ .Values.nexus.port.docker }} + volumeMounts: + - name: molgenis-nexus-data + mountPath: "/nexus-data" + diff --git a/nexus/v0.1.x/templates/volumes/nexus-pv.yaml b/nexus/v0.1.x/templates/volumes/nexus-pv.yaml index 57e9639..24b438c 100644 --- a/nexus/v0.1.x/templates/volumes/nexus-pv.yaml +++ b/nexus/v0.1.x/templates/volumes/nexus-pv.yaml @@ -7,10 +7,10 @@ metadata: spec: storageClassName: nfs-class capacity: - storage: 5Gi + storage: 50Gi accessModes: - ReadWriteMany persistentVolumeReclaimPolicy: Retain nfs: - server: 192.168.64.10 - path: /home/gcc/molgenis-nexus-data + server: 192.168.64.12 + path: /gcc/molgenis/nexus-data diff --git a/nexus/v0.1.x/templates/volumes/nexus-pvc.yaml b/nexus/v0.1.x/templates/volumes/nexus-pvc.yaml index c0c7f68..603ecef 100644 --- a/nexus/v0.1.x/templates/volumes/nexus-pvc.yaml +++ b/nexus/v0.1.x/templates/volumes/nexus-pvc.yaml @@ -8,4 +8,4 @@ spec: - ReadWriteMany resources: requests: - storage: 5Gi \ No newline at end of file + storage: 50Gi \ No newline at end of file