15 Commits

7 changed files with 26 additions and 34 deletions

View File

@ -1,11 +1,11 @@
apiVersion: v1 apiVersion: v1
appVersion: "1.0" appVersion: "1.0"
description: MOLGENIS Helm chart for OpenCPU description: MOLGENIS Helm chart for the website
name: molgenis-website name: molgenis-website
version: 0.2.0 version: 0.3.3
sources: sources:
- https://github.com/molgenis/molgenis-ops-docker-helm.git - https://git.webhosting.rug.nl/molgenis/thirdparty-ops-docker-helm.git
icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-website/catalog-molgenis-website.svg 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 home: https://www.molgenis.org
maintainers: maintainers:
- name: sidohaakma - name: sidohaakma

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

@ -2,27 +2,17 @@
categories: categories:
- MOLGENIS - MOLGENIS
questions: questions:
- variable: ingress.enabled - variable: ingress.hosts[0].name
label: Enable ingress label: Hostname(s)
default: false default: "site.dev.molgenis.org"
description: "Enable ingress" description: "Specify a hostname for this MOLGENIS website instance"
type: boolean type: string
required: true required: true
group: "Load balancing" group: "Loadbalancing"
- variable: opencpu.image.repository - variable: image.image.tag
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 label: Version
default: "" default: "latest"
description: "Select a OpenCPU version (check the registry.molgenis.org or hub.docker.com for released tags)" description: "Select a MOLGENIS website version (check the registry.molgenis.org for released tags)"
type: string type: string
required: true required: true
group: "Provisioning" 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