diff --git a/charts/visual-regression-tracker/README.md b/charts/visual-regression-tracker/README.md index be336be..cbb7b98 100644 --- a/charts/visual-regression-tracker/README.md +++ b/charts/visual-regression-tracker/README.md @@ -55,7 +55,7 @@ This version adds a proxy in fornt of the API server which protects it via basic The `secrets.apiUrl` secrets has been removed. -The `reactAppApiUrl` variables has been split up into `reactAppApi.protocol`, `reactAppApi.url` & `reactAppApi.port`. +The `reactAppApiUrl` variables has been split up into `reactAppApi.protocol` & `reactAppApi.url`. The `vrtComponents.api.ingress` config has been moved to `authProxy.ingress`. diff --git a/charts/visual-regression-tracker/templates/statefulset.yaml b/charts/visual-regression-tracker/templates/statefulset.yaml index e94ae4b..9b3aab1 100644 --- a/charts/visual-regression-tracker/templates/statefulset.yaml +++ b/charts/visual-regression-tracker/templates/statefulset.yaml @@ -127,7 +127,7 @@ spec: name: {{ template "visual-regression-tracker.authProxySecretName" . }} key: {{ .Values.secrets.authProxy.secretKey }} - name: REACT_APP_API_URL - value: "{{ .Values.vrtConfig.reactAppApi.protocol }}://{{ .Values.authProxy.basicAuth.username }}:$(BASIC_AUTH_PASSWORD)@{{ .Values.vrtConfig.reactAppApi.protocol }}" + value: "{{ .Values.vrtConfig.reactAppApi.protocol }}://{{ .Values.authProxy.basicAuth.username }}:$(BASIC_AUTH_PASSWORD)@{{ .Values.vrtConfig.reactAppApi.url }}" - name: VRT_VERSION value: "{{ .Chart.AppVersion }}" image: "{{ .Values.vrtComponents.ui.image.repository }}:{{ .Values.vrtComponents.ui.image.tag }}" diff --git a/charts/visual-regression-tracker/values.yaml b/charts/visual-regression-tracker/values.yaml index bbcac4e..58c3b30 100644 --- a/charts/visual-regression-tracker/values.yaml +++ b/charts/visual-regression-tracker/values.yaml @@ -114,8 +114,7 @@ vrtConfig: user: vrt reactAppApi: protocol: "http" - url: "localhost" - port: "4200" + url: "localhost:4200" vrtComponents: api: