29 Commits

Author SHA1 Message Date
db546fda32 Merge branch 'master' of p281392/thirdparty-ops-docker-helm into master 2018-11-30 06:49:01 +00:00
a419edbe84 chore(docs): updated description and docs 2018-11-29 20:36:17 +01:00
1236a96e7d Merge branch 'master' of p281392/thirdparty-ops-docker-helm into master 2018-11-28 20:56:40 +00:00
b0301449bc chore(chart.yaml): bumped version to 0.3.2 2018-11-28 21:56:12 +01:00
9ac657e80c chore(questions.yaml): set default value for version 2018-11-28 21:55:54 +01:00
ad745da674 Merge branch 'master' of p281392/thirdparty-ops-docker-helm into master 2018-11-28 20:51:35 +00:00
0ec9a9f510 chore(chart.yaml): bumped verison to 0.3.1 2018-11-28 21:51:07 +01:00
de8c2e51d6 chore(questions.yaml): updated group and type 2018-11-28 21:50:39 +01:00
d997e04593 Merge branch 'master' of p281392/thirdparty-ops-docker-helm into master 2018-11-28 20:49:34 +00:00
43ec3175e2 chore(chart.yaml): bumped version to 0.3.0 2018-11-28 21:48:52 +01:00
58f3ec1160 fix(questions.yaml): update questions to use in rancher 2018-11-28 21:47:47 +01:00
093ed69a5c Merge branch 'master' of p281392/thirdparty-ops-docker-helm into master 2018-11-28 20:35:46 +00:00
310d2a480b fix(chart.yaml): fixed typo in url 2018-11-28 21:33:46 +01:00
363f5a7a0b Merge branch 'master' of p281392/thirdparty-ops-docker-helm into master 2018-11-28 20:32:23 +00:00
99e8f4f2a0 fix(icon): fixed typo 2018-11-28 21:31:59 +01:00
bd8ffb929b Merge branch 'master' of p281392/thirdparty-ops-docker-helm into master 2018-11-28 20:30:32 +00:00
88b493b0d5 Merge branch 'master' of https://git.webhosting.rug.nl/molgenis/thirdparty-ops-docker-helm 2018-11-28 21:30:13 +01:00
1a3212ee42 Merge branch 'update-service-name' of p281392/thirdparty-ops-docker-helm into master 2018-11-28 20:29:44 +00:00
edc006563f feat(icon): added icon and changed source 2018-11-28 21:29:19 +01:00
5915dc4732 fix(service): updated service name and bumped version to 0.2.3 2018-11-26 20:25:56 +01:00
8173e36331 fix(service): updated servicename with release name 2018-11-26 19:42:10 +01:00
e1b8ebac20 Merge branch 'updated-chart-name' of p281392/thirdparty-ops-docker-helm into master 2018-11-22 20:29:34 +00:00
5d282b5169 fix(dir): moved website to molgenis-website 2018-11-22 21:28:30 +01:00
2866fe7632 Merge branch 'removed-opal' of p281392/thirdparty-ops-docker-helm into master 2018-11-20 12:07:07 +00:00
e32da2e8c9 chore(merge): merge commit for deletion of files 2018-11-20 13:06:46 +01:00
77b1ae8ce7 chore(opal): removed from third-party repo 2018-11-20 12:57:30 +01:00
3419bc3269 Merge branch 'updated-readme' of p281392/thirdparty-ops-docker-helm into master 2018-11-20 09:35:17 +00:00
1b2b4e0bf1 Merge branch 'fix/ingress-service' of p281392/thirdparty-ops-docker-helm into master 2018-11-20 09:35:08 +00:00
c62aea9d94 chore(README.md): updated README.md concerning deployment of containers 2018-11-13 16:31:42 +01:00
34 changed files with 39 additions and 680 deletions

View File

@ -1,6 +1,6 @@
# Third party - Helm templates
These are the Helm templates that we will use for MOLGENIS operations.
These are the Helm templates that we will use for third-party operations.
## Kubernetes
When you want to use kubernetes there are some commands you need to know. Also running on a remote cluster will be a must have to control your whole DTAP.
@ -76,6 +76,8 @@ Commands that can be used to get information from a kubernetes cluster
This repository is serves also as a catalogue for Rancher. We have several apps that are served through this repository. e.g.
- [Opal](charts/opal/README.md)
- [RStudio](charts/rstudio/README.md)
- [MOLGENIS website](charts/website/README.md)
### Useful commands
You can you need to know to easily develop and deploy helm-charts

View File

@ -1,12 +1,12 @@
apiVersion: v1
appVersion: "1.0"
description: Opal - helm stack (in BETA)
name: opal
version: 0.0.1
description: MOLGENIS Helm chart for the website
name: molgenis-website
version: 0.3.3
sources:
- https://git.webhosting.rug.nl/molgenis/thirdparty-ops-docker-helm.git
icon: https://git.webhosting.rug.nl/molgenis/thirdparty-ops-docker-helm/
home: https://obiba.org
icon: https://git.webhosting.rug.nl/molgenis/thirdparty-ops-docker-helm/raw/master/charts/molgenis-website/catalogIcon-molgenis-website.png
home: https://www.molgenis.org
maintainers:
- name: sidohaakma
- name: fdlk

View File

@ -1,6 +1,6 @@
# MOLGENIS - OpenCPU Helm Chart
# MOLGENIS - Website Helm Chart
NEXUS repository for kubernetes to deploy on a kubernetes cluster with NFS-share
Website Helm chart to deploy the molgenis.org website.
## Containers
@ -9,7 +9,7 @@ This chart will deploy the following containers:
- NGINX
## Provisioning
You can choose for the OpenCPU image from which repository you want to pull. Experimental builds are pushed to registry.molgenis.org and the stable builds to hub.docker.com.
You can choose which version of the NGINX image you want to deploy. Each merge with the master results in a tagged image with the build-number.
You need to fill out 2 properties to determine which repository you are going to use.
- ```site.image.repository```

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,18 @@
categories:
- MOLGENIS
questions:
- variable: ingress.hosts[0].name
label: Hostname(s)
default: "site.dev.molgenis.org"
description: "Specify a hostname for this MOLGENIS website instance"
type: string
required: true
group: "Loadbalancing"
- variable: image.image.tag
label: Version
default: "latest"
description: "Select a MOLGENIS website version (check the registry.molgenis.org for released tags)"
type: string
required: true
group: "Provisioning"

View File

@ -1,5 +1,4 @@
{{- if .Values.ingress.enabled }}
{{- range .Values.ingress.hosts }}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
@ -10,27 +9,30 @@ metadata:
release: "{{ $.Release.Name }}"
heritage: "{{ $.Release.Service }}"
annotations:
{{- if .tls }}
{{- if .Values.ingress.tls }}
ingress.kubernetes.io/secure-backends: "true"
{{- end }}
{{- range $key, $value := .annotations }}
{{- range $key, $value := .Values.ingress.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .name }}
http:
paths:
- path: {{ default "/" .path }}
backend:
serviceName: {{ $.Values.website.service.name }}
serviceName: {{ $.Release.Name }}-{{ $.Values.website.service.name }}
servicePort: {{ $.Values.website.service.port }}
{{- end }}
{{- if .tls }}
tls:
- hosts:
{{- range .Values.ingress.hosts }}
- {{ .name }}
secretName: {{ .tlsSecret }}
{{- end }}
secretName: {{ .Values.ingress.tlsSecret }}
{{- end }}
---
{{- end }}
{{- end }}

View File

@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.website.service.name }}
name: {{ .Release.Name }}-{{ .Values.website.service.name }}
labels:
app: {{ .Values.website.service.name }}
release: {{ .Release.Name }}

View File

@ -14,7 +14,7 @@ website:
image:
repository: registry.molgenis.org
name: molgenis/website
tag: stable
tag: latest
pullPolicy: Always
service:
name: molgenis-website

View File

@ -1,13 +0,0 @@
# Opal
This chart is used for acceptance and production use cases.
## Containers
The created containers are:
- Opal
- MongoDB
- RServer
## Provisioning
You can choose from which registry you want to pull. There is 1 one registry:
- https://hub.docker.com

Binary file not shown.

View File

@ -1,35 +0,0 @@
categories:
- OPAL
questions:
- variable: opal.environment
label: Environment
default: "test"
description: "Environment of Opal instance"
type: enum
options:
- development
- test
- acceptance
- production
required: true
group: "Provisioning"
- variable: molgenis.type.kind
label: Type
default: "medium"
description: "Type of MOLGENIS resources"
type: enum
options:
- small
- medium
- large
required: true
group: "Provisioning"
- variable: molgenis.image.tag
label: Version
default: "stable"
description: "Select a MOLGENIS version (check the registry.molgenis.org or hub.docker.com for released tags)"
type: string
required: true
group: "Provisioning"

View File

@ -1,6 +0,0 @@
dependencies:
- name: mysql
repository: https://kubernetes-charts.storage.googleapis.com/
version: 0.10.2
digest: sha256:77710fe100fb005d51e006d2e19643f9af2b1aadd1c2249c67ffc5be6a095f30
generated: 2018-11-06T15:57:20.530933765Z

View File

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

View File

@ -1,19 +0,0 @@
1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }}
{{- range .Values.ingress.hosts }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }}
{{- end }}
{{- else if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "molgenis.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get svc -w {{ template "molgenis.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "molgenis.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "molgenis.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl port-forward $POD_NAME 8080:80
{{- end }}

View File

@ -1,32 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "opal.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "opal.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "opal.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

View File

@ -1,83 +0,0 @@
apiVersion: apps/v1beta2
kind: Deployment
metadata:
{{- with .Values.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
name: {{ template "opal.fullname" . }}
labels:
app: {{ template "opal.name" . }}
chart: {{ template "opal.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ template "opal.name" . }}
release: {{ .Release.Name }}
strategy:
type: Recreate
template:
metadata:
labels:
app: {{ template "opal.name" . }}
release: {{ .Release.Name }}
spec:
containers:
- name: opal
{{- with .Values.opal }}
image: {{ .image.repository }}/{{ .image.name }}:{{ .image.tag }}
imagePullPolicy: {{ .image.pullPolicy }}
env:
- name: OPAL_ADMINISTRATOR_PASSWORD
value: "{{ .adminPassword }}"
ports:
- containerPort: {{ $.Values.service.port }}
{{- if $.Values.persistence.enabled }}
volumeMounts:
- name: opal-nfs
mountPath: /home/opal
{{- end }}
livenessProbe:
httpGet:
path: /
port: {{ $.Values.service.port }}
initialDelaySeconds: 60
periodSeconds: 5
failureThreshold: 25
successThreshold: 1
resources:
{{ toYaml .resources | indent 12 }}
{{- end }}
- name: rserver
{{- with .Values.rserver }}
image: {{ .image.repository }}/{{ .image.name }}:{{ .image.tag }}
imagePullPolicy: {{ .image.pullPolicy }}
ports:
- containerPort: 6612
- containerPort: 6311
resources:
{{ toYaml .resources | indent 12 }}
{{- end }}
{{- if .Values.persistence.enabled }}
volumes:
- name: opal-nfs
persistentVolumeClaim:
claimName: {{ .Release.Name }}-{{ .Values.opal.persistence.claim }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}

View File

@ -1,40 +0,0 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "opal.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "{{ $.Release.Name }}-ingress"
labels:
app: {{ $.Values.service.name }}
chart: "{{ $.Chart.Name }}-{{ $.Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- with .Values.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- if .Values.ingress.hosts }}
{{- range $host := .Values.ingress.hosts }}
- host: {{ $host }}
http:
paths:
- path: {{ $ingressPath }}
backend:
serviceName: "{{ $.Release.Name }}-{{ $.Values.service.name }}"
servicePort: {{ $.Values.service.port }}
{{- end }}
{{- end }}
{{- end }}

View File

@ -1,19 +0,0 @@
{{- if .Values.persistence.enabled -}}
apiVersion: extensions/v1beta1
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ .Release.Name }}-{{ .Values.opal.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.opal.persistence.size }}
{{- end }}

View File

@ -1,17 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: "{{ .Release.Name }}-{{ .Values.service.name }}"
labels:
app: "{{ .Release.Name }}-{{ .Values.service.name }}"
chart: {{ template "opal.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.service.type }}
ports:
- name: "{{ .Release.Name }}-{{ .Values.service.name }}"
port: {{ .Values.service.port }}
selector:
app: {{ template "opal.name" . }}
release: {{ .Release.Name }}

View File

@ -1,84 +0,0 @@
# Default values for molgenis.
replicaCount: 1
service:
name: opal
type: ClusterIP
port: 8080
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "0"
hosts:
- opal.dev.molgenis.org
path: /
tls: []
opal:
advanced: false
javaOpts:
maxHeapSpace: "4g"
resources:
limits:
cpu: 1
memory: 2Gi
requests:
cpu: 200m
memory: 4Gi
persistence:
size: 10Gi
image:
repository: registry.hub.docker.com
name: obiba/opal
tag: latest
pullPolicy: Always
adminPassword: ?01LifeCycle!
persistence:
claim: pvc-opal
size: 10Gi
containerPorts:
- 8080
rserver:
image:
repository: registry.hub.docker.com
name: obiba/opal-rserver
tag: latest
pullPolicy: IfNotPresent
resources:
limits:
cpu: 1
memory: 2Gi
containerPorts:
- 6612
- 6311
mysql:
persistence:
enabled: false
mysqlRootPassword: ParaD0xa
mysqlUser: opal
mysqlPassword: ?opal01!
initializationFiles:
opal-ids.sql: |-
CREATE DATABASE IF NOT EXISTS opal_ids DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON opal_ids.* TO "opal"@"%" IDENTIFIED BY "?opal01!";
FLUSH PRIVILEGES;
opal-data.sql: |-
CREATE DATABASE IF NOT EXISTS opal_data DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON opal_data.* TO "opal"@"%" IDENTIFIED BY "?opal01!";
FLUSH PRIVILEGES;
persistence:
enabled: false
retain: false
nodeSelector: {
deployPod: "true"
}
tolerations: []
affinity: {}

View File

@ -1,12 +0,0 @@
apiVersion: v1
appVersion: "1.0"
description: RStudio stack
name: rstudio
version: 0.0.1
sources:
- https://git.webhosting.rug.nl/molgenis/thirdparty-ops-docker-helm.git
icon: https://raw.git.webhosting.rug.nl/molgenis/thirdparty-ops-docker-helm/master/charts/rstudio/catalog-molgenis-rstudio.svg
home: https://www.rocker.org
maintainers:
- name: sidohaakma
- name: fdlk

View File

@ -1,37 +0,0 @@
# MOLGENIS - RStudio Helm Chart
An RStudio instance to support DataSHIELD users in setting up a central analysis server instance.
## Containers
This chart will deploy the following container:
- molgenis-rstudio (with DataSHIELD packages)
## Provisioning
You can choose for the RStudio image from which repository you want to pull. Experimental builds are pushed to registry.molgenis.org and the stable builds to hub.docker.com.
You need to fill out 2 properties to determine which repository you are going to use.
- ```rstudio.image.repository```
- ```rstudio.image.tag```
You can do this in the questions in Rancher or in the ```values.yaml```.
## Development
You can test in install the chart by executing:
```helm lint .```
To test if your helm chart-syntax is right and:
```helm install . --dry-run --debug```
To test if your hem chart works and:
```helm install .```
To deploy it on the cluster.
```curl -L -u xxxx:xxxx http://registry.molgenis.org/repository/helm/ --upload-file molgenis-x.x.x.tgz```
To push it to the registry

View File

@ -1,31 +0,0 @@
categories:
- MOLGENIS
questions:
- variable: rstudio.environment
label: Environment
default: development
type: enum
options:
- development
- test
- acceptence
- production
group: "Provisioning"
- variable: rstudio.image.repository
label: Registry
default: "registry.hub.docker.com"
description: "Select a registry to pull from"
type: enum
options:
- "registry.hub.docker.com"
- "registry.molgenis.org"
required: true
group: "Provisioning"
- variable: rstudio.image.tag
label: Version
default: ""
description: "Select a RStudio version (check the registry.molgenis.org or hub.docker.com for released tags)"
type: string
required: true
group: "Provisioning"

View File

@ -1,32 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "rstudio.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "rstudio.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "rstudio.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

View File

@ -1,46 +0,0 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
{{- with .Values.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
name: {{ template "rstudio.fullname" . }}
labels:
app: {{ template "rstudio.name" . }}
chart: {{ template "rstudio.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ template "rstudio.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ template "rstudio.name" . }}
release: {{ .Release.Name }}
spec:
containers:
{{- with .Values.rstudio }}
- 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

@ -1,36 +0,0 @@
{{- if .Values.ingress.enabled }}
{{- range .Values.ingress.hosts }}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "{{ $.Release.Name }}-ingress"
labels:
app: "{{ .Release.Name}}-{{ .Values.rstudio.service.name }}"
chart: "{{ $.Chart.Name }}-{{ $.Chart.Version }}"
release: "{{ $.Release.Name }}"
heritage: "{{ $.Release.Service }}"
annotations:
{{- if .tls }}
ingress.kubernetes.io/secure-backends: "true"
{{- end }}
{{- range $key, $value := .annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
rules:
- host: {{ .name }}
http:
paths:
- path: {{ default "/" .path }}
backend:
serviceName: "{{ .Release.Name}}-{{ .Values.rstudio.service.name }}"
servicePort: {{ $.Values.rstudio.service.port }}
{{- if .tls }}
tls:
- hosts:
- {{ .name }}
secretName: {{ .tlsSecret }}
{{- end }}
---
{{- end }}
{{- end }}

View File

@ -1,16 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: "{{ .Release.Name}}-{{ .Values.rstudio.service.name }}"
labels:
app: "{{ .Release.Name}}-{{ .Values.rstudio.service.name }}"
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.rstudio.service.type }}
ports:
- name: "{{ .Release.Name}}-{{ .Values.rstudio.service.name }}"
port: {{ .Values.rstudio.service.port }}
selector:
app: {{ template "rstudio.name" . }}
release: {{ .Release.Name }}

View File

@ -1,40 +0,0 @@
# Default values for nexus.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
environment: production
rstudio:
name: rstudio
strategy:
type: Recreate
restartPolicy: Always
adminPassword: ?01LifeCycle!
image:
repository: registry.hub.docker.com
name: molgenis/rstudio
tag: beta
pullPolicy: Always
service:
name: rstudio
type: ClusterIP
port: 8787
ingress:
enabled: true
annotations: {
kubernetes.io/ingress.class: "nginx",
nginx.ingress.kubernetes.io/proxy-body-size: "0"
}
path: /
hosts:
- name: analysis.dev.molgenis.org
tls: []
nodeSelector: {}
tolerations: []
affinity: {}

View File

@ -1,21 +0,0 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj

View File

@ -1,12 +0,0 @@
apiVersion: v1
appVersion: "1.0"
description: MOLGENIS Helm chart for OpenCPU
name: molgenis-website
version: 0.0.1
sources:
- https://github.com/molgenis/molgenis-ops-docker-helm.git
icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-website/catalog-molgenis-website.svg
home: https://www.molgenis.org
maintainers:
- name: sidohaakma
- name: fdlk

View File

@ -1,28 +0,0 @@
categories:
- MOLGENIS
questions:
- variable: ingress.enabled
label: Enable ingress
default: false
description: "Enable ingress"
type: boolean
required: true
group: "Load balancing"
- variable: opencpu.image.repository
label: Registry
default: "registry.hub.docker.com"
description: "Select a registry to pull from"
type: enum
options:
- "registry.hub.docker.com"
- "registry.molgenis.org"
required: true
group: "Provisioning"
- variable: opencpu.image.tag
label: Version
default: ""
description: "Select a OpenCPU version (check the registry.molgenis.org or hub.docker.com for released tags)"
type: string
required: true
group: "Provisioning"