1
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 - 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

View File

@ -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: /

View File

@ -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: {}

View File

@ -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

View File

@ -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: