diff --git a/helm-chart/templates/deployment.yaml b/helm-chart/templates/deployment.yaml index d81af24..d92c074 100644 --- a/helm-chart/templates/deployment.yaml +++ b/helm-chart/templates/deployment.yaml @@ -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 diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 4858dfc..c4295d2 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -27,6 +27,7 @@ imagePullSecrets: [] nameOverride: "acend-website" fullnameOverride: "" +backendurl: localhost:8080 backendurlprotocol: http:// serviceAccount: