Skip to content

Commit 1486d98

Browse files
committed
Use internal service endpoints for chart tests
1 parent 8786c3c commit 1486d98

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

charts/azimuth-llm/templates/api/ingress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
{{- end }}
3636
backend:
3737
service:
38-
name: {{ include "azimuth-llm.fullname" $ }}
38+
name: {{ $.Release.Name }}-api
3939
port:
4040
number: 80
4141
{{- end }}

charts/azimuth-llm/templates/test/end-to-end.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ spec:
1717
command:
1818
- python
1919
- gradio-client-test.py
20-
{{- if .Values.ui.ingress.enabled }}
21-
- {{ .Values.ingress.host }}{{ .Values.ui.ingress.path }}
22-
{{- else }}
2320
- http://{{ .Release.Name }}-ui.{{ .Release.Namespace }}.svc
24-
{{- end }}
2521
env:
2622
- name: PYTHONUNBUFFERED
2723
value: "1"

charts/azimuth-llm/templates/test/web-app.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ spec:
1515
command:
1616
- nc
1717
- -vz
18-
{{- if .Values.ui.ingress.enabled }}
19-
- {{ .Values.ingress.host | trimPrefix "http://" | trimPrefix "https://" }}{{ .Values.ui.ingress.path }}
20-
{{- else }}
2118
- {{ .Release.Name }}-ui.{{ .Release.Namespace }}.svc
22-
{{- end }}
2319
- "80"
2420
restartPolicy: Never
2521
backoffLimit: 3

charts/azimuth-llm/templates/ui/ingress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
{{- end }}
3636
backend:
3737
service:
38-
name: {{ include "azimuth-llm.fullname" $ }}
38+
name: {{ $.Release.Name }}-ui
3939
port:
4040
number: 80
4141
{{- end }}

0 commit comments

Comments
 (0)