1
0
Fork 0

chore(httpd): updated templates

This commit is contained in:
sido 2018-06-22 23:00:54 +02:00
parent c6f4229fdb
commit c97d6d8164
5 changed files with 22 additions and 19 deletions

View File

@ -2,7 +2,7 @@ categories:
- MOLGENIS
questions:
- variable: molgenisUsername
default: "user"
default: "molgenis"
description: "User of the application"
type: string
required: true
@ -45,12 +45,12 @@ questions:
- variable: httpd.hostname
default: ""
description: "Hostname to your stack (comma separated)"
type: hostname
type: string
required: true
label: Hostname
- variable: httpd.proxy
default: "[service]:[port]:[path]"
description: "Proxy to services (comma separated)"
type: string
required: true
required: false
label: Proxy

View File

@ -29,9 +29,9 @@ spec:
protocol: TCP
env:
- name: SERVER_NAME
value: {{ .Values.ingress.hosts[0].name | quote }}
value: {{ .Values.httpd.hostname | quote }}
- name: PROXY_SERVICE
values: {{ .Values.httpd.proxy | quote }}
value: {{ .Values.httpd.proxy | quote }}
livenessProbe:
httpGet:
path: /

View File

@ -1,14 +1,19 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
name: httpd
name: {{ template "httpd.fullname" . }}
labels:
app: {{ template "httpd.name" . }}
chart: {{ template "httpd.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.service.type }}
ports:
- name: "80"
port: 80
targetPort: 80
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app: nexus
status:
loadBalancer: {}
app: {{ template "httpd.name" . }}
release: {{ .Release.Name }}

View File

@ -7,11 +7,9 @@ metadata:
app: nexus
spec:
ports:
- name: "8081"
- name: "ui"
port: 8081
targetPort: 8081
- name: "5000"
- name: "docker"
port: 5000
targetPort: 5000
selector:
app: nexus

View File

@ -14,13 +14,13 @@ service:
type: ClusterIP
ingress:
enabled: false
enabled: true
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- registry.molgenis.local
- registry.molgenis.org
tls: []
# - secretName: chart-example-tls
# hosts: