updated configuration for cluster deployment
This commit is contained in:
parent
2eeb2413db
commit
63bedcea84
@ -74,7 +74,7 @@ spec:
|
||||
volumes:
|
||||
- name: opal-nfs
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.opal.persistence.claim }}
|
||||
claimName: {{ .Release.Name }}-{{ .Values.opal.persistence.claim }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.nodeSelector }}
|
||||
|
@ -3,7 +3,7 @@ apiVersion: extensions/v1beta1
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Values.opal.persistence.claim }}
|
||||
name: {{ .Release.Name }}-{{ .Values.opal.persistence.claim }}
|
||||
annotations:
|
||||
{{- if .Values.persistence.retain }}
|
||||
volume.beta.kubernetes.io/storage-class: "nfs-provisioner-retain"
|
@ -1,19 +0,0 @@
|
||||
{{- if .Values.persistence.enabled }}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Values.mysql.persistence.claim }}
|
||||
annotations:
|
||||
{{- if .Values.persistence.retain }}
|
||||
volume.beta.kubernetes.io/storage-class: "nfs-provisioner-retain"
|
||||
{{- else }}
|
||||
volume.beta.kubernetes.io/storage-class: "nfs-provisioner"
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.mysql.persistence.size }}
|
||||
{{- end }}
|
@ -3,7 +3,7 @@
|
||||
replicaCount: 1
|
||||
|
||||
service:
|
||||
type: LoadBalancer
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
|
||||
ingress:
|
||||
@ -11,7 +11,7 @@ ingress:
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
hosts:
|
||||
- name: opal.dev.molgenis.org
|
||||
- opal.dev.molgenis.org
|
||||
path: /
|
||||
tls: []
|
||||
|
||||
@ -36,6 +36,7 @@ opal:
|
||||
adminPassword:
|
||||
persistence:
|
||||
claim: pvc-opal
|
||||
size: 10Gi
|
||||
services:
|
||||
rserver:
|
||||
host: localhost
|
||||
@ -48,10 +49,6 @@ rserver:
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
mysql:
|
||||
persistence:
|
||||
size: 10Gi
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
retain: false
|
||||
|
Loading…
Reference in New Issue
Block a user