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

View File

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

View File

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