working opal

This commit is contained in:
sido
2018-11-06 12:09:12 +00:00
parent 8d4b5c6f3b
commit c225d71968
12 changed files with 64 additions and 179 deletions

View File

@ -28,8 +28,19 @@ spec:
- name: {{ .name }}
image: "{{ .image.repository }}/{{ .image.name }}:{{ .image.tag }}"
imagePullPolicy: {{ .image.pullPolicy }}
env:
- name: PASSWORD
value: "{{ .adminPassword }}"
ports:
- containerPort: {{ .service.port }}
livenessProbe:
httpGet:
path: /
port: {{ .service.port }}
initialDelaySeconds: 60
periodSeconds: 5
failureThreshold: 25
successThreshold: 1
{{- end }}

View File

@ -8,10 +8,6 @@ metadata:
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.rstudio.service.type }}
loadBalancerSourceRanges:
{{- range $index, $rule := .Values.rstudio.service.firewall }}
- {{ $rule }}
{{- end }}
ports:
- name: {{ .Values.rstudio.service.name }}
port: {{ .Values.rstudio.service.port }}

View File

@ -11,14 +11,15 @@ rstudio:
strategy:
type: Recreate
restartPolicy: Always
adminPassword: ?01LifeCycle!
image:
repository: registry.hub.docker.com
name: molgenis/rstudio
tag: latest
tag: beta
pullPolicy: Always
service:
name: rstudio
type: LoadBalancer
type: ClusterIP
port: 8787
ingress: