diff --git a/httpd/v1.0.0/questions.yml b/httpd/v1.0.0/questions.yml index 4463054..037730f 100644 --- a/httpd/v1.0.0/questions.yml +++ b/httpd/v1.0.0/questions.yml @@ -59,4 +59,10 @@ questions: description: "Hostname for your services (comma separated, example: [hostname]:[port])" type: string required: false - label: Hostname \ No newline at end of file + label: Hostname + - variable: service.redirect + default: "test.molgenis.org" + description: "Redirection urls for your services (comma separated, example: [redirection_url])" + type: string + required: false + label: Redirection \ No newline at end of file diff --git a/httpd/v1.0.0/templates/deployment.yaml b/httpd/v1.0.0/templates/deployment.yaml index c3f7cae..28d07e1 100644 --- a/httpd/v1.0.0/templates/deployment.yaml +++ b/httpd/v1.0.0/templates/deployment.yaml @@ -32,6 +32,8 @@ spec: value: "{{ .Values.service.hostname }}" - name: PROXY_SERVICE value: "{{ .Values.service.proxy }}" + - name: PROXY_SERVICE + value: "{{ .Values.service.redirect }}" livenessProbe: httpGet: path: / diff --git a/httpd/v1.0.0/values.yaml b/httpd/v1.0.0/values.yaml index 1b56f5b..5e55628 100644 --- a/httpd/v1.0.0/values.yaml +++ b/httpd/v1.0.0/values.yaml @@ -13,6 +13,7 @@ service: type: ClusterIP port: 80 proxy: httpd:80:/ + redirect: redirect.molgenis.org hostname: test.molgenis.org volume: username: molgenis