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 creationTimestamp: null
spec: spec:
volumes: volumes:
- name: {{ .Values.persistance.name }} - name: {{ .Values.persistence.name }}
persistentVolumeClaim: persistentVolumeClaim:
claimName: {{ .Values.persistance.name }} claimName: {{ .Values.persistence.name }}
restartPolicy: {{ .Values.nexus.restartPolicy }} restartPolicy: {{ .Values.nexus.restartPolicy }}
initContainers: initContainers:
- name: volume-mount-nexus - name: volume-mount-nexus
image: busybox image: busybox
command: ["sh", "-c", "chown -R 200:200 {{ .Values.persistance.mountPath }}"] command: ["sh", "-c", "chown -R 200:200 {{ .Values.persistence.mountPath }}"]
volumeMounts: volumeMounts:
- name: {{ .Values.persistance.name }} - name: {{ .Values.persistance.name }}
mountPath: "{{ .Values.persistance.mountPath }}" mountPath: "{{ .Values.persistence.mountPath }}"
containers: containers:
- name: {{ .Values.nexus.name }} - name: {{ .Values.nexus.name }}
image: "{{ .Values.nexus.image.repository }}:{{ .Values.nexus.image.tag }}" image: "{{ .Values.nexus.image.repository }}:{{ .Values.nexus.image.tag }}"
@ -39,6 +39,6 @@ spec:
- containerPort: {{ .Values.nexus.port.ui }} - containerPort: {{ .Values.nexus.port.ui }}
- containerPort: {{ .Values.nexus.port.docker }} - containerPort: {{ .Values.nexus.port.docker }}
volumeMounts: volumeMounts:
- name: {{ .Values.persistance.name }} - name: {{ .Values.persistence.name }}
mountPath: "/nexus-data" mountPath: "/nexus-data"

View File

@ -1,16 +1,16 @@
apiVersion: v1 apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
name: {{ .Values.persistance.volumeName }} name: {{ .Values.persistence.volumeName }}
labels: labels:
name: nfs2 name: nfs2
spec: spec:
storageClassName: nfs-class storageClassName: {{ .Values.persistence.storageClass }}
capacity: capacity:
storage: {{ .Values.persistance.size }} storage: {{ .Values.persistence.size }}
accessModes: accessModes:
- ReadWriteMany - {{ .Values.persistence.accessModes }}
persistentVolumeReclaimPolicy: {{ .Values.persistance.reclaimPolicy }} persistentVolumeReclaimPolicy: {{ .Values.persistence.reclaimPolicy }}
nfs: nfs:
server: {{ .Values.persistance.server }} server: {{ .Values.persistence.server }}
path: {{ .Values.persistance.mountPath }} path: {{ .Values.persistence.mountPath }}

View File

@ -1,11 +1,11 @@
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: {{ .Values.persistance.name }} name: {{ .Values.persistence.name }}
spec: spec:
storageClassName: nfs-class storageClassName: {{ .Values.persistence.storageClass }}
accessModes: accessModes:
- {{ .Values.persistance.accessMode }} - {{ .Values.persistence.accessMode }}
resources: resources:
requests: requests:
storage: {{ .Values.persistance.size }} storage: {{ .Values.persistence.size }}

View File

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