Commit 62eaa40f authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Small deployment fixes.

parent c89af0ad
Pipeline #46595 canceled with stages
in 6 minutes and 33 seconds
......@@ -131,10 +131,10 @@ tests = NomadConfig(
def api_url():
return '%s://%s%s/%s' % (
return '%s://%s%s%s' % (
'https' if services.https else 'http',
services.api_host,
':%s' % services.api_port if services.api_port != 80 else '',
':%s' % services.api_port if int(services.api_port) != 80 else '',
services.api_base_path)
......
......@@ -48,7 +48,7 @@ spec:
containers:
- name: {{ include "nomad.name" . }}-gui
image: "{{ .Values.images.frontend.name }}:{{ .Values.images.frontend.tag }}"
command: ["run.sh {{ .Values.proxy.external.path }}"]
command: ["./run.sh", "{{ .Values.proxy.external.path }}"]
ports:
- containerPort: 8080
volumeMounts:
......@@ -63,13 +63,13 @@ spec:
name: log
livenessProbe:
httpGet:
path: "{{ .Values.proxy.external.path }}/index.html"
path: "{{ .Values.proxy.external.path }}/gui/index.html"
port: 8080
initialDelaySeconds: 15
periodSeconds: 15
readinessProbe:
httpGet:
path: "{{ .Values.proxy.external.path }}/index.html"
path: "{{ .Values.proxy.external.path }}/gui/index.html"
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment