requirements updated

This commit is contained in:
sido 2018-10-30 12:24:17 +01:00
parent d365e29472
commit 5e0ee2e5e7
6 changed files with 16 additions and 62 deletions

Binary file not shown.

View File

@ -0,0 +1,6 @@
dependencies:
- name: mysql
repository: https://kubernetes-charts.storage.googleapis.com/
version: 0.10.2
digest: sha256:77710fe100fb005d51e006d2e19643f9af2b1aadd1c2249c67ffc5be6a095f30
generated: 2018-10-24T22:38:04.939630519+02:00

View File

@ -1,4 +1,4 @@
dependencies: dependencies:
- name: mysql - name: mysql
version: ^0.16 version: ^0.10.2
repository: https://kubernetes-charts.storage.googleapis.com/ repository: https://kubernetes-charts.storage.googleapis.com/

View File

@ -15,7 +15,6 @@ spec:
- ReadWriteMany - ReadWriteMany
resources: resources:
requests: requests:
{{- if eq .Values.persistence.mysql.size "default" }}
{{- if eq .Values.opal.type.kind "small" }} {{- if eq .Values.opal.type.kind "small" }}
storage: {{ .Values.mysql.type.small.persistence.size }} storage: {{ .Values.mysql.type.small.persistence.size }}
{{- else if eq .Values.opal.type.kind "medium" }} {{- else if eq .Values.opal.type.kind "medium" }}
@ -23,7 +22,4 @@ spec:
{{- else }} {{- else }}
storage: {{ .Values.mysql.type.large.persistence.size }} storage: {{ .Values.mysql.type.large.persistence.size }}
{{- end }} {{- end }}
{{ else }}
storage: {{ .Values.persistence.mysql.size }}
{{- end }}
{{- end }} {{- end }}

View File

@ -15,7 +15,6 @@ spec:
- ReadWriteMany - ReadWriteMany
resources: resources:
requests: requests:
{{- if eq .Values.persistence.opal.size "default" }}
{{- if eq .Values.opal.type.kind "small" }} {{- if eq .Values.opal.type.kind "small" }}
storage: {{ .Values.opal.type.small.persistence.size }} storage: {{ .Values.opal.type.small.persistence.size }}
{{- else if eq .Values.opal.type.kind "medium" }} {{- else if eq .Values.opal.type.kind "medium" }}
@ -23,7 +22,4 @@ spec:
{{- else }} {{- else }}
storage: {{ .Values.opal.type.large.persistence.size }} storage: {{ .Values.opal.type.large.persistence.size }}
{{- end }} {{- end }}
{{ else }}
storage: {{ .Values.persistence.opal.size }}
{{- end }}
{{- end }} {{- end }}

View File

@ -69,70 +69,26 @@ opal:
image: image:
repository: registry.hub.docker.com repository: registry.hub.docker.com
name: obiba/opal name: obiba/opal
tag: stable tag: latest
pullPolicy: Always pullPolicy: Always
adminPassword: adminPassword:
persistence: persistence:
claim: opal-nfs-claim claim: pvc-opal
services: services:
rserver: rserver:
host: localhost host: localhost
mysql: mysql:
host: localhost host: localhost
rserver: rserver:
image: image:
repository: obiba/opal-rserver repository: obiba/opal-rserver
tag: stable tag: latest
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
mysql:
type:
small:
resources:
limits:
cpu: 1
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
persistence:
size: 5Gi
medium:
resources:
limits:
cpu: 2
memory: 2Gi
requests:
cpu: 100m
memory: 2Gi
persistence:
size: 10Gi
large:
resources:
limits:
cpu: 4
memory: 4Gi
requests:
cpu: 100m
memory: 4Gi
persistence:
size: 15Gi
image:
repository: postgres
tag: 9.6-alpine
pullPolicy: IfNotPresent
persistence:
claim: mysql-nfs-claim
persistence: persistence:
enabled: true enabled: true
retain: false retain: false
opal:
size: "default"
mysql:
size: "default"
nodeSelector: { nodeSelector: {
deployPod: "true" deployPod: "true"