Skip to content

Commit

Permalink
fix(ui): Fix wrong INTERNAL_API_URL port for backend service (#236)
Browse files Browse the repository at this point in the history
* fix(ui): Fix wrong `INTERNAL_API_URL` port for backend service

* Helm-Docs update

---------

Co-authored-by: Marcin Jasion <mjasion@users.noreply.github.com>
  • Loading branch information
mjasion and mjasion authored Nov 9, 2023
1 parent 9371db7 commit 4f7b303
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: studio
description: A Helm chart for Kubernetes
type: application
version: 0.7.7
version: 0.7.8
appVersion: "v2.51.1"
maintainers:
- name: iterative
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# studio

![Version: 0.7.7](https://img.shields.io/badge/Version-0.7.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.51.1](https://img.shields.io/badge/AppVersion-v2.51.1-informational?style=flat-square)
![Version: 0.7.8](https://img.shields.io/badge/Version-0.7.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.51.1](https://img.shields.io/badge/AppVersion-v2.51.1-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
2 changes: 1 addition & 1 deletion charts/studio/templates/configmap-studio-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: studio-ui
data:

INTERNAL_API_URL: "http://studio-backend:8080{{- if and .Values.global.basePath (not (eq .Values.global.basePath "/")) }}/{{ include "studio.basePath" . }}{{- end }}/api"
INTERNAL_API_URL: "http://studio-backend:{{ .Values.studioBackend.service.port }}{{- if and .Values.global.basePath (not (eq .Values.global.basePath "/")) }}/{{ include "studio.basePath" . }}{{- end }}/api"

{{- with .Values.studioUi.envVars}}
{{- toYaml . | nindent 2 }}
Expand Down

0 comments on commit 4f7b303

Please sign in to comment.