chore(httpd): updated templates
This commit is contained in:
		| @@ -2,7 +2,7 @@ categories: | |||||||
| - MOLGENIS | - MOLGENIS | ||||||
| questions: | questions: | ||||||
| - variable: molgenisUsername | - variable: molgenisUsername | ||||||
|   default: "user" |   default: "molgenis" | ||||||
|   description: "User of the application" |   description: "User of the application" | ||||||
|   type: string |   type: string | ||||||
|   required: true |   required: true | ||||||
| @@ -45,12 +45,12 @@ questions: | |||||||
|   - variable: httpd.hostname |   - variable: httpd.hostname | ||||||
|     default: "" |     default: "" | ||||||
|     description: "Hostname to your stack (comma separated)" |     description: "Hostname to your stack (comma separated)" | ||||||
|     type: hostname |     type: string | ||||||
|     required: true |     required: true | ||||||
|     label: Hostname |     label: Hostname | ||||||
|   - variable: httpd.proxy |   - variable: httpd.proxy | ||||||
|     default: "[service]:[port]:[path]" |     default: "[service]:[port]:[path]" | ||||||
|     description: "Proxy to services (comma separated)" |     description: "Proxy to services (comma separated)" | ||||||
|     type: string |     type: string | ||||||
|     required: true |     required: false | ||||||
|     label: Proxy |     label: Proxy | ||||||
| @@ -29,9 +29,9 @@ spec: | |||||||
|               protocol: TCP |               protocol: TCP | ||||||
|           env: |           env: | ||||||
|             - name: SERVER_NAME |             - name: SERVER_NAME | ||||||
|               value: {{ .Values.ingress.hosts[0].name | quote }} |               value: {{ .Values.httpd.hostname | quote }} | ||||||
|             - name: PROXY_SERVICE |             - name: PROXY_SERVICE | ||||||
|               values: {{ .Values.httpd.proxy | quote }} |               value: {{ .Values.httpd.proxy | quote }} | ||||||
|           livenessProbe: |           livenessProbe: | ||||||
|             httpGet: |             httpGet: | ||||||
|               path: / |               path: / | ||||||
|   | |||||||
| @@ -1,14 +1,19 @@ | |||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   creationTimestamp: null |   name: {{ template "httpd.fullname" . }} | ||||||
|   name: httpd |   labels: | ||||||
|  |     app: {{ template "httpd.name" . }} | ||||||
|  |     chart: {{ template "httpd.chart" . }} | ||||||
|  |     release: {{ .Release.Name }} | ||||||
|  |     heritage: {{ .Release.Service }} | ||||||
| spec: | spec: | ||||||
|  |   type: {{ .Values.service.type }} | ||||||
|   ports: |   ports: | ||||||
|   - name: "80" |     - port: {{ .Values.service.port }} | ||||||
|     port: 80 |       targetPort: http | ||||||
|     targetPort: 80 |       protocol: TCP | ||||||
|  |       name: http | ||||||
|   selector: |   selector: | ||||||
|     app: nexus |     app: {{ template "httpd.name" . }} | ||||||
| status: |     release: {{ .Release.Name }} | ||||||
|   loadBalancer: {} |  | ||||||
|   | |||||||
| @@ -7,11 +7,9 @@ metadata: | |||||||
|     app: nexus |     app: nexus | ||||||
| spec: | spec: | ||||||
|   ports: |   ports: | ||||||
|   - name: "8081" |   - name: "ui" | ||||||
|     port: 8081 |     port: 8081 | ||||||
|     targetPort: 8081 |   - name: "docker" | ||||||
|   - name: "5000" |  | ||||||
|     port: 5000 |     port: 5000 | ||||||
|     targetPort: 5000 |  | ||||||
|   selector: |   selector: | ||||||
|     app: nexus |     app: nexus | ||||||
|   | |||||||
| @@ -14,13 +14,13 @@ service: | |||||||
|   type: ClusterIP |   type: ClusterIP | ||||||
|  |  | ||||||
| ingress: | ingress: | ||||||
|   enabled: false |   enabled: true | ||||||
|   annotations: {} |   annotations: {} | ||||||
|     # kubernetes.io/ingress.class: nginx |     # kubernetes.io/ingress.class: nginx | ||||||
|     # kubernetes.io/tls-acme: "true" |     # kubernetes.io/tls-acme: "true" | ||||||
|   path: / |   path: / | ||||||
|   hosts: |   hosts: | ||||||
|     - registry.molgenis.local |     - registry.molgenis.org | ||||||
|   tls: [] |   tls: [] | ||||||
|   #  - secretName: chart-example-tls |   #  - secretName: chart-example-tls | ||||||
|   #    hosts: |   #    hosts: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user