1
0
Fork 0

chore(httpd): updated templates

This commit is contained in:
sido 2018-06-22 22:50:21 +02:00
parent 53df2783ed
commit c6f4229fdb
3 changed files with 22 additions and 7 deletions

View File

@ -26,14 +26,14 @@ questions:
subquestions:
- variable: persistence.size
default: "10Gi"
description: "MOLGENIS Persistent Volume Size"
description: "Persistent Volume Size"
type: string
label: Webhosting Volume Size
label: MOLGENIS Volume Size
- variable: persistence.storageClass
default: ""
description: "If undefined or null, uses the default StorageClass. Default to null"
type: storageclass
label: Default StorageClass for Webhosting
label: Default StorageClass for MOLGENIS
- variable: ingress.enabled
default: "true"
description: "Expose app using Layer 7 Load Balancer - ingress"
@ -42,9 +42,15 @@ questions:
show_subquestion_if: true
group: "Services and Load Balancing"
subquestions:
- variable: ingress.hosts[0].name
- variable: httpd.hostname
default: ""
description: "Hostname to your MOLGENIS installation"
description: "Hostname to your stack (comma separated)"
type: hostname
required: true
label: Hostname
label: Hostname
- variable: httpd.proxy
default: "[service]:[port]:[path]"
description: "Proxy to services (comma separated)"
type: string
required: true
label: Proxy

View File

@ -27,6 +27,11 @@ spec:
- name: http
containerPort: 80
protocol: TCP
env:
- name: SERVER_NAME
value: {{ .Values.ingress.hosts[0].name | quote }}
- name: PROXY_SERVICE
values: {{ .Values.httpd.proxy | quote }}
livenessProbe:
httpGet:
path: /

View File

@ -16,6 +16,10 @@ service:
type: ClusterIP
port: 80
httpd:
proxy: service:port:path
hostname: test.molgenis.org
ingress:
enabled: false
annotations: {}
@ -23,7 +27,7 @@ ingress:
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- molgenis.local
- { httpd.hostname }
tls: []
# - secretName: chart-example-tls
# hosts: