chore(httpd): updated templates
This commit is contained in:
		| @@ -26,14 +26,14 @@ questions: | |||||||
|   subquestions: |   subquestions: | ||||||
|   - variable: persistence.size |   - variable: persistence.size | ||||||
|     default: "10Gi" |     default: "10Gi" | ||||||
|     description: "MOLGENIS Persistent Volume Size" |     description: "Persistent Volume Size" | ||||||
|     type: string |     type: string | ||||||
|     label: Webhosting Volume Size |     label: MOLGENIS Volume Size | ||||||
|   - variable: persistence.storageClass |   - variable: persistence.storageClass | ||||||
|     default: "" |     default: "" | ||||||
|     description: "If undefined or null, uses the default StorageClass. Default to null" |     description: "If undefined or null, uses the default StorageClass. Default to null" | ||||||
|     type: storageclass |     type: storageclass | ||||||
|     label: Default StorageClass for Webhosting |     label: Default StorageClass for MOLGENIS | ||||||
| - variable: ingress.enabled | - variable: ingress.enabled | ||||||
|   default: "true" |   default: "true" | ||||||
|   description: "Expose app using Layer 7 Load Balancer - ingress" |   description: "Expose app using Layer 7 Load Balancer - ingress" | ||||||
| @@ -42,9 +42,15 @@ questions: | |||||||
|   show_subquestion_if: true |   show_subquestion_if: true | ||||||
|   group: "Services and Load Balancing" |   group: "Services and Load Balancing" | ||||||
|   subquestions: |   subquestions: | ||||||
|   - variable: ingress.hosts[0].name |   - variable: httpd.hostname | ||||||
|     default: "" |     default: "" | ||||||
|     description: "Hostname to your MOLGENIS installation" |     description: "Hostname to your stack (comma separated)" | ||||||
|     type: hostname |     type: hostname | ||||||
|     required: true |     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 | ||||||
| @@ -27,6 +27,11 @@ spec: | |||||||
|             - name: http |             - name: http | ||||||
|               containerPort: 80 |               containerPort: 80 | ||||||
|               protocol: TCP |               protocol: TCP | ||||||
|  |           env: | ||||||
|  |             - name: SERVER_NAME | ||||||
|  |               value: {{ .Values.ingress.hosts[0].name | quote }} | ||||||
|  |             - name: PROXY_SERVICE | ||||||
|  |               values: {{ .Values.httpd.proxy | quote }} | ||||||
|           livenessProbe: |           livenessProbe: | ||||||
|             httpGet: |             httpGet: | ||||||
|               path: / |               path: / | ||||||
|   | |||||||
| @@ -16,6 +16,10 @@ service: | |||||||
|   type: ClusterIP |   type: ClusterIP | ||||||
|   port: 80 |   port: 80 | ||||||
|  |  | ||||||
|  | httpd: | ||||||
|  |   proxy: service:port:path | ||||||
|  |   hostname: test.molgenis.org | ||||||
|  |  | ||||||
| ingress: | ingress: | ||||||
|   enabled: false |   enabled: false | ||||||
|   annotations: {} |   annotations: {} | ||||||
| @@ -23,7 +27,7 @@ ingress: | |||||||
|     # kubernetes.io/tls-acme: "true" |     # kubernetes.io/tls-acme: "true" | ||||||
|   path: / |   path: / | ||||||
|   hosts: |   hosts: | ||||||
|     - molgenis.local |     - { httpd.hostname } | ||||||
|   tls: [] |   tls: [] | ||||||
|   #  - secretName: chart-example-tls |   #  - secretName: chart-example-tls | ||||||
|   #    hosts: |   #    hosts: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user