1
0

bumped version

This commit is contained in:
sido 2018-06-27 18:06:39 +02:00
parent e33e6cf627
commit b30a4e6e21
4 changed files with 17 additions and 16 deletions

View File

@ -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"

View File

@ -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 }}

View File

@ -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 }}
storage: {{ .Values.persistence.size }}

View File

@ -55,6 +55,7 @@ ingress:
persistence:
name: molgenis-nexus-data
storageClass: nfs-class
size: 30G
reclaimPolicy: Retain
server: 192.168.64.12