Browse Source

public-web fixed gateway http request

pull/20/head
Başak ERDEM 5 years ago
parent
commit
10b4b2fe87
  1. 2
      etc/k8s/eshoponabp/charts/public-web/templates/public-web.yaml
  2. 2
      etc/k8s/eshoponabp/charts/public-web/values.yaml
  3. 2
      etc/k8s/eshoponabp/charts/public-webgateway/values.yaml
  4. 3
      etc/k8s/eshoponabp/values.yaml

2
etc/k8s/eshoponabp/charts/public-web/templates/public-web.yaml

@ -22,8 +22,6 @@ spec:
containerPort: 443 containerPort: 443
env: env:
{{ include "eshoponabp.global.env" . | indent 8 }} {{ include "eshoponabp.global.env" . | indent 8 }}
- name: "RemoteServices__Default__BaseUrl"
value: {{ .Values.global.publicWeb.remoteServiceUrl }}
{{- if .Values.env }} {{- if .Values.env }}
{{ toYaml .Values.env | indent 8 }} {{ toYaml .Values.env | indent 8 }}
{{- end }} {{- end }}

2
etc/k8s/eshoponabp/charts/public-web/values.yaml

@ -2,5 +2,5 @@
- name: "App__SelfUrl" - name: "App__SelfUrl"
value: "https://eshoponabp-public-web" value: "https://eshoponabp-public-web"
- name: "RemoteServices__Default__BaseUrl" - name: "RemoteServices__Default__BaseUrl"
value: "https://eshoponabp-public-webgateway/" value: "http://eshoponabp-public-webgateway/"

2
etc/k8s/eshoponabp/charts/public-webgateway/values.yaml

@ -2,7 +2,7 @@
- name: "App__SelfUrl" - name: "App__SelfUrl"
value: "https://eshoponabp-public-webgateway" value: "https://eshoponabp-public-webgateway"
- name: "GlobalConfiguration__BaseUrl" - name: "GlobalConfiguration__BaseUrl"
value: "https://eshoponabp-public-webgateway" value: "http://eshoponabp-public-webgateway"
- name: "Routes__0__DownstreamScheme" - name: "Routes__0__DownstreamScheme"
value: "http" value: "http"
- name: "Routes__0__DownstreamHostAndPorts__0__Host" - name: "Routes__0__DownstreamHostAndPorts__0__Host"

3
etc/k8s/eshoponabp/values.yaml

@ -94,7 +94,6 @@ global:
domain: eshoponabp-public-web domain: eshoponabp-public-web
url: https://eshoponabp-public-web url: https://eshoponabp-public-web
containerImage: "eshoponabp/app-publicweb" containerImage: "eshoponabp/app-publicweb"
remoteServiceUrl: http://eshoponabp-public-webgateway
authServer: authServer:
domain: eshoponabp-authserver domain: eshoponabp-authserver
url: https://eshoponabp-authserver url: https://eshoponabp-authserver
@ -116,7 +115,7 @@ global:
connString: "Server=eshoponabp-sqldb,1433;Database=EShopOnAbp_Saas;User Id=sa;password=myPassw@rd;MultipleActiveResultSets=true" connString: "Server=eshoponabp-sqldb,1433;Database=EShopOnAbp_Saas;User Id=sa;password=myPassw@rd;MultipleActiveResultSets=true"
publicWebGateway: publicWebGateway:
domain: eshoponabp-public-webgateway domain: eshoponabp-public-webgateway
url: http://eshoponabp-public-webgateway url: https://eshoponabp-public-webgateway
containerImage: "eshoponabp/gateway-publicweb" containerImage: "eshoponabp/gateway-publicweb"
redisConfiguration: "eshoponabp-redis" redisConfiguration: "eshoponabp-redis"
rabbitMqHostName: "eshoponabp-rabbitmq" rabbitMqHostName: "eshoponabp-rabbitmq"

Loading…
Cancel
Save