Skip to content

Commit

Permalink
ci: PLT-341: expose service name as env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
farioas committed Apr 30, 2024
1 parent ec1d618 commit ded73fe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions heartex/label-studio/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
*

### Fixes
## 1.4.5
### Improvements
* Expose LS app service name and service port as an env variables.

## 1.4.3
### Fixes
* Update helm release NOTES.txt to give correct url to the app when ingress with sub-path is enabled.
Expand Down
2 changes: 1 addition & 1 deletion heartex/label-studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ home: https://labelstud.io/
type: application
icon: https://raw.githubusercontent.com/heartexlabs/label-studio/master/images/logo.png
# Chart version
version: 1.4.4
version: 1.4.5
# Label Studio release version
appVersion: "1.12.0"
kubeVersion: ">= 1.14.0-0"
Expand Down
4 changes: 4 additions & 0 deletions heartex/label-studio/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,10 @@ Set's common environment variables
name: {{ include "ls-app.fullname" . }}-django-secret
key: "key"
{{- end }}
- name: LS_APP_SERVICE_NAME
value: "{{ include "ls-app.fullname" . }}"
- name: LS_APP_SERVICE_PORT
value: "{{ .Values.app.service.port }}"
{{- end -}}
Expand Down

0 comments on commit ded73fe

Please sign in to comment.