Skip to content

Commit f1760f9

Browse files
committed
Update NOTES.txt
1 parent 62a8bd9 commit f1760f9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

deploy/helm/tlm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.36
18+
version: 0.1.37
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
1. Get the application URL by running these commands:
21
{{- if contains "ClusterIP" .Values.chat_backend.service.type }}
2+
To access the TLM chat backend via port-forwarding, run the following commands:
33
export SERVICE_NAME=$(kubectl get services --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "tlm.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
44
export SERVICE_PORT=$(kubectl get service --namespace {{ .Release.Namespace }} $SERVICE_NAME -o jsonpath="{.spec.ports[0].port}")
55
echo "Visit http://127.0.0.1:8080/api/docs to use your application"
66
kubectl --namespace {{ .Release.Namespace }} port-forward service/$SERVICE_NAME $SERVICE_PORT
77
{{- end }}
8+
9+
To access the chat backend using an ingress, you can do so by running the following:
10+
echo 'service.name: $(kubectl get services --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "tlm.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")'
11+
echo 'service.port: $(kubectl get service --namespace {{ .Release.Namespace }} $SERVICE_NAME -o jsonpath="{.spec.ports[0].port}")'
12+
echo 'uri_prefix: /api'

0 commit comments

Comments
 (0)