1
0

added volumes to nexus

This commit is contained in:
sido 2018-06-27 11:33:55 +02:00
parent c064d27191
commit f885e0239e
3 changed files with 10 additions and 2 deletions

View File

@ -18,6 +18,10 @@ spec:
labels:
app: {{ .Values.nexus.name }}
creationTimestamp: null
volumes:
- name: molgenis-nexus-data
persistentVolumeClaim:
claimName: molgenis-nexus-data
spec:
restartPolicy: {{ .Values.nexus.restartPolicy }}
containers:
@ -27,3 +31,7 @@ spec:
ports:
- containerPort: {{ .Values.nexus.port.ui }}
- containerPort: {{ .Values.nexus.port.docker }}
volumeMounts:
- name: molgenis-nexus-data
mountPath: "/nexus-data"

View File

@ -7,7 +7,7 @@ metadata:
spec:
storageClassName: nfs-class
capacity:
storage: 5Gi
storage: 50Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain

View File

@ -8,4 +8,4 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 5Gi
storage: 50Gi