17 Commits

Author SHA1 Message Date
a419edbe84 chore(docs): updated description and docs 2018-11-29 20:36:17 +01: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
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
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
310d2a480b fix(chart.yaml): fixed typo in url 2018-11-28 21:33:46 +01:00
99e8f4f2a0 fix(icon): fixed typo 2018-11-28 21:31:59 +01: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
12 changed files with 43 additions and 51 deletions

View File

@ -0,0 +1,12 @@
apiVersion: v1
appVersion: "1.0"
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/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 ## Containers
@ -9,7 +9,7 @@ This chart will deploy the following containers:
- NGINX - NGINX
## Provisioning ## 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. You need to fill out 2 properties to determine which repository you are going to use.
- ```site.image.repository``` - ```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 }} {{- if .Values.ingress.enabled }}
{{- range .Values.ingress.hosts }}
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress
metadata: metadata:
@ -10,27 +9,30 @@ metadata:
release: "{{ $.Release.Name }}" release: "{{ $.Release.Name }}"
heritage: "{{ $.Release.Service }}" heritage: "{{ $.Release.Service }}"
annotations: annotations:
{{- if .tls }} {{- if .Values.ingress.tls }}
ingress.kubernetes.io/secure-backends: "true" ingress.kubernetes.io/secure-backends: "true"
{{- end }} {{- end }}
{{- range $key, $value := .annotations }} {{- range $key, $value := .Values.ingress.annotations }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}
{{- end }} {{- end }}
spec: spec:
rules: rules:
{{- range .Values.ingress.hosts }}
- host: {{ .name }} - host: {{ .name }}
http: http:
paths: paths:
- path: {{ default "/" .path }} - path: {{ default "/" .path }}
backend: backend:
serviceName: {{ $.Values.website.service.name }} serviceName: {{ $.Release.Name }}-{{ $.Values.website.service.name }}
servicePort: {{ $.Values.website.service.port }} servicePort: {{ $.Values.website.service.port }}
{{- end }}
{{- if .tls }} {{- if .tls }}
tls: tls:
- hosts: - hosts:
{{- range .Values.ingress.hosts }}
- {{ .name }} - {{ .name }}
secretName: {{ .tlsSecret }} {{- end }}
secretName: {{ .Values.ingress.tlsSecret }}
{{- end }} {{- end }}
--- ---
{{- end }}
{{- end }} {{- end }}

View File

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

View File

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

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"