Skip to content

Commit

Permalink
fix backend deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
splattner committed Aug 5, 2024
1 parent bbc91d8 commit 2e181d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions helm-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,8 @@ spec:
env:
- name: SERVER_HOST
value: ":8080"
{{- if .Values.backend.enabled -}}
- name: BACKEND_URL
value: "{{ .Values.backendurlprotocol}}{{ .Values.backendurl | default $backendUrl}}"
{{- else -}}
- name: BACKEND_URL
value: "http://localhost:8080"
{{- end -}}
ports:
- name: http
containerPort: 8080
Expand Down
1 change: 1 addition & 0 deletions helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ imagePullSecrets: []
nameOverride: "acend-website"
fullnameOverride: ""

backendurl: localhost:8080
backendurlprotocol: http://

serviceAccount:
Expand Down

0 comments on commit 2e181d5

Please # to comment.