Skip to content

Commit d3d373f

Browse files
committed
Avoid setting special root-path for testing.
1 parent 9b5386c commit d3d373f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

helm-chart/eoapi/templates/services/deployment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ spec:
4848
name: {{ $serviceName }}
4949
command:
5050
{{- toYaml (index $v "command") | nindent 10 }}
51-
{{- if (and ($.Values.ingress.className) (or (eq $.Values.ingress.className "nginx") (eq $.Values.ingress.className "traefik")) (not $.Values.testing)) }}
51+
{{- if (and ($.Values.ingress.className) (or (eq $.Values.ingress.className "nginx") (eq $.Values.ingress.className "traefik"))) }}
5252
- "--root-path=/{{ $serviceName }}"
53-
{{- else if (and ($.Values.ingress.className) (or (eq $.Values.ingress.className "nginx") (eq $.Values.ingress.className "traefik")) ($.Values.testing)) }}
54-
- "--root-path=/{{ $serviceName }}{{ $.Release.Name }}"
5553
{{- end }}{{/* needed for proxies and path rewrites on NLB */}}
5654
livenessProbe:
5755
tcpSocket:

0 commit comments

Comments
 (0)